From e77601019b4bc75efc9f4851e3be91c62d819b38 Mon Sep 17 00:00:00 2001 From: Rashad Kanavath <rashad.kanavath@c-s.fr> Date: Fri, 27 Nov 2015 16:21:08 +0100 Subject: [PATCH] WRG: cast to GIntBig to be compatible with both GDAL --- Modules/IO/TestKernel/src/otbTestHelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/IO/TestKernel/src/otbTestHelper.cxx b/Modules/IO/TestKernel/src/otbTestHelper.cxx index c6a82eeba2..36dd1eef71 100644 --- a/Modules/IO/TestKernel/src/otbTestHelper.cxx +++ b/Modules/IO/TestKernel/src/otbTestHelper.cxx @@ -1276,7 +1276,7 @@ void TestHelper::DumpOGRFeature(FILE* fpOut, OGRFeature* feature, char** papszOp return; } - fprintf(fpOut, "OGRFeature:%ld\n", feature->GetFID()); + fprintf(fpOut, "OGRFeature:%lld\n", (GIntBig) feature->GetFID()); const char* pszDisplayFields = CSLFetchNameValue(papszOptions, "DISPLAY_FIELDS"); -- GitLab