[mapguide-commits] r9660 - sandbox/jng/catch2/Server/src/UnitTesting
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Jul 13 06:19:28 PDT 2020
Author: jng
Date: 2020-07-13 06:19:27 -0700 (Mon, 13 Jul 2020)
New Revision: 9660
Modified:
sandbox/jng/catch2/Server/src/UnitTesting/TestMisc.cpp
Log:
Fix some warnings
Modified: sandbox/jng/catch2/Server/src/UnitTesting/TestMisc.cpp
===================================================================
--- sandbox/jng/catch2/Server/src/UnitTesting/TestMisc.cpp 2020-07-13 13:04:59 UTC (rev 9659)
+++ sandbox/jng/catch2/Server/src/UnitTesting/TestMisc.cpp 2020-07-13 13:19:27 UTC (rev 9660)
@@ -578,7 +578,7 @@
RS_BufferOutputStream ros(bytes->GetLength());
lb.ToAgf(&ros);
- Ptr<MgByte> obs = new MgByte(ros.data(), ros.length());
+ Ptr<MgByte> obs = new MgByte(ros.data(), (INT32)ros.length());
Ptr<MgByteSource> bs = new MgByteSource(obs);
Ptr<MgByteReader> oagf = bs->GetReader();
@@ -705,7 +705,7 @@
RS_BufferOutputStream ros(bytes->GetLength());
lb.ToAgf(&ros);
- Ptr<MgByte> obs = new MgByte(ros.data(), ros.length());
+ Ptr<MgByte> obs = new MgByte(ros.data(), (INT32)ros.length());
Ptr<MgByteSource> bs = new MgByteSource(obs);
Ptr<MgByteReader> oagf = bs->GetReader();
More information about the mapguide-commits
mailing list