Mercurial > libpst
diff src/getidblock.c @ 87:3ec5ad97e926
Use inttypes.h for portable printing of 64 bit items.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 03 Aug 2008 15:42:37 -0700 |
parents | 56fa05fd5271 |
children | 0f1492b7fe8b |
line wrap: on
line diff
--- a/src/getidblock.c Wed Jul 30 22:27:08 2008 -0700 +++ b/src/getidblock.c Sun Aug 03 15:42:37 2008 -0700 @@ -70,7 +70,7 @@ DIE(("Error loading block\n")); } if (binary == 0) - printf("Block %#x, size %#x[%i]\n", id, (unsigned int) readSize, (int) readSize); + printf("Block %#"PRIx64", size %#x[%i]\n", id, (unsigned int) readSize, (int) readSize); if (decrypt != 0) if (pst_decrypt(id, buf, readSize, (int) pstfile.encryption) != 0) {