Fix compilation with -Werror on i386.

Reported by: pointyhat via erwin@
This commit is contained in:
Matthias Andree
2011-05-26 09:33:07 +00:00
parent d2e84fb955
commit 078e3d3c1a

View File

@@ -0,0 +1,13 @@
--- pblhttst.c~ 2011-05-26 11:28:13.000000000 +0200
+++ pblhttst.c 2011-05-26 11:28:49.000000000 +0200
@@ -139,8 +139,8 @@
data ? data : "NULL" );
size = 0;
data = pblHtCurrentKey( ht, &size );
- fprintf( stdout, "pblHtCurrentKey( ht, &size ) data = %s, size %ld\n",
- data ? data : "NULL", size );
+ fprintf( stdout, "pblHtCurrentKey( ht, &size ) data = %s, size %lu\n",
+ data ? data : "NULL", (unsigned long)size );
}