changed size_t printing lines to use %lu and unsigned long cast

git-svn-id: http://svn.osgeo.org/postgis/trunk@1264 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2005-01-10 09:28:34 +00:00
parent 6973f9372a
commit cc68d08478

View file

@ -69,8 +69,9 @@ Datum LWGEOM_mem_size(PG_FUNCTION_ARGS)
computed_size += 4; // varlena size computed_size += 4; // varlena size
if ( size != computed_size ) if ( size != computed_size )
{ {
elog(NOTICE, "varlena size (%d) != computed size+4 (%d)", elog(NOTICE, "varlena size (%lu) != computed size+4 (%lu)",
size, computed_size); (unsigned long)size,
(unsigned long)computed_size);
} }
PG_FREE_IF_COPY(geom,0); PG_FREE_IF_COPY(geom,0);