summaryrefslogtreecommitdiff
path: root/src/Update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Update.cpp')
-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;