projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cedbbb
)
cmd: Cast the result of GetProcAddress to PVOID before assigning to a function pointe...
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Fri, 15 May 2009 13:09:20 +0000
(13:09 +0000)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Fri, 15 May 2009 13:09:20 +0000
(13:09 +0000)
svn path=/branches/ros-amd64-bringup/; revision=40928
reactos/base/shell/cmd/memory.c
patch
|
blob
|
history
diff --git
a/reactos/base/shell/cmd/memory.c
b/reactos/base/shell/cmd/memory.c
index
4285326
..
81d53ac
100644
(file)
--- a/
reactos/base/shell/cmd/memory.c
+++ b/
reactos/base/shell/cmd/memory.c
@@
-33,7
+33,7
@@
INT CommandMemory (LPTSTR param)
}
BOOL (WINAPI *GlobalMemoryStatusEx)(LPMEMORYSTATUSEX)
- = GetProcAddress(GetModuleHandle(_T("KERNEL32")), "GlobalMemoryStatusEx");
+ =
(PVOID)
GetProcAddress(GetModuleHandle(_T("KERNEL32")), "GlobalMemoryStatusEx");
if (GlobalMemoryStatusEx)
{
msex.dwLength = sizeof(MEMORYSTATUSEX);