From c06488f2c116bacf658c79da35651cf093f0388e Mon Sep 17 00:00:00 2001 From: Bborie Park Date: Fri, 29 Jun 2012 20:48:21 +0000 Subject: [PATCH] int32 instead of int4 as per Peter Eisentraut on postgis-devel. git-svn-id: http://svn.osgeo.org/postgis/trunk@10004 b70326c6-7e19-0410-871a-916f4a2858ee --- raster/rt_pg/rt_pg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raster/rt_pg/rt_pg.c b/raster/rt_pg/rt_pg.c index 314fffc3d..57ffc54ea 100644 --- a/raster/rt_pg/rt_pg.c +++ b/raster/rt_pg/rt_pg.c @@ -4506,7 +4506,7 @@ Datum RASTER_mapAlgebraFct(PG_FUNCTION_ARGS) d[0] = Int32GetDatum(x+1); d[1] = Int32GetDatum(y+1); - a = construct_array(d, 2, INT4OID, sizeof(int4), true, 'i'); + a = construct_array(d, 2, INT4OID, sizeof(int32), true, 'i'); cbdata.argnull[1] = FALSE; cbdata.arg[1] = PointerGetDatum(a); @@ -10866,7 +10866,7 @@ Datum RASTER_mapAlgebra2(PG_FUNCTION_ARGS) } } - a = construct_array(d, 4, INT4OID, sizeof(int4), true, 'i'); + a = construct_array(d, 4, INT4OID, sizeof(int32), true, 'i'); ufc_info.arg[2] = PointerGetDatum(a); ufc_info.argnull[2] = FALSE; } -- 2.50.1