Skip to content

Commit

Permalink
"BytePtr string": Fixed for Mac OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevefolta committed Mar 26, 2013
1 parent d7c7926 commit cdc9d14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion library/Standard/CImplementation/BytePtr
Expand Up @@ -75,7 +75,11 @@ extend Standard BytePtr

c-fn string
char str[64];
sprintf(str, "0x%08X", BytePtrValue_(this_));
#ifdef MAC_OSX
sprintf(str, "%p", BytePtrValue_(this_));
#else
sprintf(str, "0x%08X", BytePtrValue_(this_));
#endif
return BuildString_(str);


0 comments on commit cdc9d14

Please sign in to comment.