diff options
Diffstat (limited to 'com32/samples')
-rw-r--r-- | com32/samples/hello.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/samples/hello.c b/com32/samples/hello.c index d3d4d299..8ab00984 100644 --- a/com32/samples/hello.c +++ b/com32/samples/hello.c @@ -18,7 +18,8 @@ int main(int argc __unused, char **argv __unused) int *nums = NULL; nums = malloc(NUM_COUNT * sizeof(int)); - printf("Hello, world, from 0x%08X! malloc return %p\n", (unsigned int)&main, nums); + printf("Hello, world, from %p! malloc return %p\n", + (const void *)&main, nums); free(nums); |