summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-11 12:30:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-11 12:30:39 +0000
commit8a7aad995210ce7a66e9be4315693feb7756670a (patch)
treedb5cbd6b650d594bb2b1d449f8742dbc358d9f3e /vm_dump.c
parenta5eb40b99935a5d1bc29e2c086d00883d6b98858 (diff)
* fix type warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index c865386..2975001 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -745,7 +745,7 @@ dump_thread(void *arg)
line.SizeOfStruct = sizeof(line);
if (pSymGetLineFromAddr64(ph, addr, NULL, &line))
fprintf(stderr, " %s:%lu", line.FileName, line.LineNumber);
- fprintf(stderr, " [0x%"PRIxVALUE"]\n", addr);
+ fprintf(stderr, " [%p]\n", (void *)(VALUE)addr);
}
}