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);