diff --git a/src/ninja/gdal_util.cpp b/src/ninja/gdal_util.cpp index 8e10403c..7899f5d6 100644 --- a/src/ninja/gdal_util.cpp +++ b/src/ninja/gdal_util.cpp @@ -1002,7 +1002,7 @@ bool GDALWarpToUtm (const char* filename, GDALDatasetH& hSrcDS, GDALDatasetH& hD int nNoDataCount = 0; if(GDALHasNoData((GDALDataset*)hDstDS, 1)) { - nNoDataCount = GDALFillBandNoData(hDstDS, 1, 100); + nNoDataCount = GDALFillBandNoData((GDALDataset*)hDstDS, 1, 100); } double *padfScanline;