diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-13 14:08:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-13 14:08:29 +0000 |
commit | e0a7c207ffd386f5c4d270755817e4d7a4735c96 (patch) | |
tree | 2e581f5f9fa1c14700507d12ee323bb739294728 /vm_dump.c | |
parent | e69bba13a0d064bfda1dbcfd27ef07e21bf70bb6 (diff) | |
download | ruby-e0a7c207ffd386f5c4d270755817e4d7a4735c96.tar.gz |
* vm_dump.c (dump_thread): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -735,7 +735,7 @@ dump_thread(void *arg) info->SizeOfStruct = sizeof(SYMBOL_INFO); info->MaxNameLen = MAX_SYM_NAME; if (pSymFromAddr(ph, addr, NULL, info)) { - if (GetModuleFileName((HANDLE)pSymGetModuleBase64(ph, addr), libpath, sizeof(libpath))) + if (GetModuleFileName((HANDLE)(uintptr_t)pSymGetModuleBase64(ph, addr), libpath, sizeof(libpath))) fprintf(stderr, "%s", libpath); fprintf(stderr, "(%s)", info->Name); } |