diff --git a/spatial/src/spatial/gdal/functions/st_write_raster.cpp b/spatial/src/spatial/gdal/functions/st_write_raster.cpp index 8a4fe403..b44de984 100644 --- a/spatial/src/spatial/gdal/functions/st_write_raster.cpp +++ b/spatial/src/spatial/gdal/functions/st_write_raster.cpp @@ -141,7 +141,7 @@ static void Sink(ExecutionContext &context, FunctionData &bdata, GlobalFunctionD if (type == core::GeoTypes::RASTER()) { auto value = input.GetValue(col_idx, row_idx); - GDALDataset *dataset = reinterpret_cast(value.GetValueUnsafe()); + GDALDataset *dataset = reinterpret_cast(value.GetValueUnsafe()); auto raw_file_name = bind_data.file_path; auto &client_ctx = GDALClientContextState::GetOrCreate(context.client); diff --git a/spatial/src/spatial/gdal/raster/raster_value.cpp b/spatial/src/spatial/gdal/raster/raster_value.cpp index e9513a08..9695597a 100644 --- a/spatial/src/spatial/gdal/raster/raster_value.cpp +++ b/spatial/src/spatial/gdal/raster/raster_value.cpp @@ -15,12 +15,12 @@ Value RasterValue::CreateValue(GDALDataset *dataset) { } GDALDataset *RasterValue::operator->() const { - GDALDataset *dataset = reinterpret_cast(GetValueUnsafe()); + GDALDataset *dataset = reinterpret_cast(GetValueUnsafe()); return dataset; } GDALDataset *RasterValue::get() const { - GDALDataset *dataset = reinterpret_cast(GetValueUnsafe()); + GDALDataset *dataset = reinterpret_cast(GetValueUnsafe()); return dataset; }