mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-23 16:42:35 +00:00
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:
parent
6973f9372a
commit
cc68d08478
|
@ -69,8 +69,9 @@ Datum LWGEOM_mem_size(PG_FUNCTION_ARGS)
|
|||
computed_size += 4; // varlena size
|
||||
if ( size != computed_size )
|
||||
{
|
||||
elog(NOTICE, "varlena size (%d) != computed size+4 (%d)",
|
||||
size, computed_size);
|
||||
elog(NOTICE, "varlena size (%lu) != computed size+4 (%lu)",
|
||||
(unsigned long)size,
|
||||
(unsigned long)computed_size);
|
||||
}
|
||||
|
||||
PG_FREE_IF_COPY(geom,0);
|
||||
|
|
Loading…
Reference in a new issue