From f244c8918ae2c9c911d33eb120d6f09c75c66f73 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 21 Mar 2021 14:44:36 +0100 Subject: [PATCH] Minor printf formatter fix --- interpolation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpolation.c b/interpolation.c index e44c2d8829..28e201ec8f 100644 --- a/interpolation.c +++ b/interpolation.c @@ -229,7 +229,7 @@ int msInterpolationDataset(mapObj *map, imageObj *image, layerObj *interpolation double adfGeoTransform[6]; memset(pointer, 0, sizeof(pointer)); CPLPrintPointer(pointer, iValues, sizeof(pointer)); - snprintf(ds_string,1024,"MEM:::DATAPOINTER=%s,PIXELS=%u,LINES=%u,BANDS=1,DATATYPE=Byte,PIXELOFFSET=1,LINEOFFSET=%u", + snprintf(ds_string,1024,"MEM:::DATAPOINTER=%s,PIXELS=%d,LINES=%d,BANDS=1,DATATYPE=Byte,PIXELOFFSET=1,LINEOFFSET=%d", pointer,image->width,image->height,image->width); hDS = GDALOpenShared( ds_string, GA_ReadOnly ); if(hDS == NULL) {