Module: wine Branch: refs/heads/master Commit: 8afbf73c3004f48a2b15f060f1a3ce8277417d05 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8afbf73c3004f48a2b15f060...
Author: Mike McCormack mike@codeweavers.com Date: Tue Jun 6 14:21:53 2006 +0900
wcmd: Fix a Win64 warning.
---
programs/wcmd/wcmdmain.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/wcmd/wcmdmain.c b/programs/wcmd/wcmdmain.c index 7150584..8b61445 100644 --- a/programs/wcmd/wcmdmain.c +++ b/programs/wcmd/wcmdmain.c @@ -594,7 +594,7 @@ char filetorun[MAX_PATH]; /* No batch file found, assume executable */
hinst = FindExecutable (param1, NULL, filetorun); - if ((int)hinst < 32) + if ((INT_PTR)hinst < 32) console = 0; else console = SHGetFileInfo (filetorun, 0, &psfi, sizeof(psfi), SHGFI_EXETYPE);