wcmd: Fix a Win64 warning.
This commit is contained in:
parent
2a7dbd6740
commit
8afbf73c30
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue