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 89f460e commit 1586aac
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 @@ -1000,7 +1000,7 @@ bool GDALWarpToUtm (const char* filename, GDALDatasetH& hSrcDS, GDALDatasetH& hD

//fill no data from warping
int nNoDataCount = 0;
if(GDALHasNoData(hDstDS, 1))
if(GDALHasNoData((GDALDataset*)hDstDS, 1))
{
nNoDataCount = GDALFillBandNoData(hDstDS, 1, 100);
}
Expand Down

0 comments on commit 1586aac

Please sign in to comment.