From e0a7c207ffd386f5c4d270755817e4d7a4735c96 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 13 Oct 2010 14:08:29 +0000 Subject: * 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 --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_dump.c b/vm_dump.c index 5a76cae656..cc36d558eb 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -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); } -- cgit v1.2.3