[libpst-commits] r79 - trunk

Chris Halls halls at alioth.debian.org
Tue Jan 9 16:27:50 CET 2007


Author: halls
Date: 2007-01-09 16:27:49 +0100 (Tue, 09 Jan 2007)
New Revision: 79

Modified:
   trunk/libpst.c
Log:
Fix compiler warning: add 'z' modifier to indicate argument is a size_t type


Index: trunk/libpst.c
===================================================================
--- trunk/libpst.c	(revision 78)
+++ trunk/libpst.c	(revision 79)
@@ -3484,7 +3484,7 @@
   if (_pst_read_block_size(pf, list->offset, list->size, &buf, PST_NO_ENC,0) < list->size) {
     //an error occured in block read
     if (buf) free(buf);
-    WARN(("block read error occured. offset = %#x, size = %#x\n", list->offset, list->size));
+    WARN(("block read error occured. offset = %#x, size = %#zx\n", list->offset, list->size));
     DEBUG_RET();
     return NULL;
   }



More information about the libpst-commits mailing list