Mercurial > hg > xemacs-beta
diff lib-src/i.c @ 5934:e2fae7783046 cygwin
lots of use of EMACS_INT, a few others, to eliminate all pointer truncation warnings
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sat, 12 Dec 2015 19:08:46 +0000 |
parents | 308d34e9f07d |
children |
line wrap: on
line diff
--- a/lib-src/i.c Thu Dec 10 17:55:59 2015 +0000 +++ b/lib-src/i.c Sat Dec 12 19:08:46 2015 +0000 @@ -240,7 +240,7 @@ _tcsncpy (new_command, command, past_exe - command); _stprintf (new_command + (past_exe - command), /* start with space in case no args past command name */ - " -mswindows-termination-handle %d ", (long) external_event); + " -mswindows-termination-handle %Id ", (uintptr_t) external_event); _tcscat (new_command, past_exe); if (CreateProcess (NULL, new_command, NULL, NULL, TRUE, 0,