Skip to content

Commit f5dbaaf

Browse files
committed
Fix undefined symbol?
1 parent 9aef365 commit f5dbaaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spatial/src/spatial/gdal/functions/st_write_raster.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static void Sink(ExecutionContext &context, FunctionData &bdata, GlobalFunctionD
141141

142142
if (type == core::GeoTypes::RASTER()) {
143143
auto value = input.GetValue(col_idx, row_idx);
144-
GDALDataset *dataset = reinterpret_cast<GDALDataset *>(value.GetValueUnsafe<uintptr_t>());
144+
GDALDataset *dataset = reinterpret_cast<GDALDataset *>(value.GetValueUnsafe<uint64_t>());
145145

146146
auto raw_file_name = bind_data.file_path;
147147
auto &client_ctx = GDALClientContextState::GetOrCreate(context.client);

0 commit comments

Comments
 (0)