Skip to content
Browse files

Switched to the ptrdiff modifier to stop complaints on MacOSX

  • Loading branch information...
1 parent 1b64edc commit a2a68181760467d0fd49c37dfae0f67a29eeafd2 makestuff committed Mar 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dump/main.c
View
2 dump/main.c
@@ -21,7 +21,7 @@
#include "../xsvf.h"
#define bitsToBytes(x) ((x>>3) + (x&7 ? 1 : 0))
-#define printAddrs() if ( wantAddrs ) printf("%08zX: ", p-buffer)
+#define printAddrs() if ( wantAddrs ) printf("%08tX: ", p-buffer)
int main(int argc, const char *argv[]) {
const uint8 *buffer, *p;

0 comments on commit a2a6818

Please sign in to comment.
Something went wrong with that request. Please try again.