projects
/
postgis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6973f93
)
changed size_t printing lines to use %lu and unsigned long cast
author
Sandro Santilli
<strk@keybit.net>
Mon, 10 Jan 2005 09:28:34 +0000
(09:28 +0000)
committer
Sandro Santilli
<strk@keybit.net>
Mon, 10 Jan 2005 09:28:34 +0000
(09:28 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1264
b70326c6
-7e19-0410-871a-
916f4a2858ee
lwgeom/lwgeom_functions_basic.c
patch
|
blob
|
history
diff --git
a/lwgeom/lwgeom_functions_basic.c
b/lwgeom/lwgeom_functions_basic.c
index 4da8c2fa5aa424d531bea7cf91bfe61d9756b5f7..67a48982290afa2feab6be96362d5a03ea838038 100644
(file)
--- a/
lwgeom/lwgeom_functions_basic.c
+++ b/
lwgeom/lwgeom_functions_basic.c
@@
-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);