Skip to content

Commit

Permalink
fix cast to GDALDatatset for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagenbrenner committed Jun 4, 2024
1 parent 1586aac commit 5288ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ninja/gdal_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5288ab1

Please sign in to comment.