From 96b1c5dbf3f90fe4758e73dd7e3c7f927883b5f3 Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Fri, 27 Oct 2017 16:23:22 +0200 Subject: [PATCH] COMP: explicit casting for windows --- .../ThirdParty/OssimPlugins/src/ossim/ossimSarSensorModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSarSensorModel.cpp b/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSarSensorModel.cpp index 5047b24fae..a9b8aaaad3 100644 --- a/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSarSensorModel.cpp +++ b/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSarSensorModel.cpp @@ -1096,8 +1096,8 @@ namespace ossimplugins assert(pos > 0 && pos < sizeof(burstPrefix_)); const std::string burstPrefix(burstPrefix_, pos); - add(kwl, burstPrefix + keyStartLine, burstRecords[burstId].startLine); - add(kwl, burstPrefix + keyEndLine, burstRecords[burstId].endLine); + add(kwl, burstPrefix + keyStartLine, (ossim_uint32) burstRecords[burstId].startLine); + add(kwl, burstPrefix + keyEndLine, (ossim_uint32) burstRecords[burstId].endLine); add(kwl, burstPrefix + keyAzimuthStartTime, burstRecords[burstId].azimuthStartTime); add(kwl, burstPrefix + keyAzimuthStopTime, burstRecords[burstId].azimuthStopTime); } -- GitLab