summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorntoskrnl <ntoskrnl11@yahoo.com>2012-08-01 19:28:43 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-02 14:21:43 (GMT)
commit18bf7ce155ebabc8bea89f44841ea58708bb98c1 (patch)
tree3f4522fbde4cfbfe269aff1d35d192228f318a4b /src
parent4343faa10fd46744430e28126d33a7a3a0b3b6e1 (diff)
downloadpowder-18bf7ce155ebabc8bea89f44841ea58708bb98c1.zip
powder-18bf7ce155ebabc8bea89f44841ea58708bb98c1.tar.gz
Build fixes for WIN64
Diffstat (limited to 'src')
-rw-r--r--src/Update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Update.cpp b/src/Update.cpp
index 853043d..290b5df 100644
--- a/src/Update.cpp
+++ b/src/Update.cpp
@@ -100,7 +100,7 @@ int update_start(char *data, int len)
}
fclose(f);
- if ((int)ShellExecute(NULL, "open", self, NULL, NULL, SW_SHOWNORMAL) <= 32)
+ if ((uintptr_t)ShellExecute(NULL, "open", self, NULL, NULL, SW_SHOWNORMAL) <= 32)
{
DeleteFile(self);
goto fail;