mirror of https://github.com/MidnightCommander/mc
* background.c (background_attention): Cast pointer to long
instead of int because it's unsafe of 64-bit systems. * main.c (init_xterm_support): Likewise.
This commit is contained in:
parent
053fc87847
commit
8c9fc66db0
|
@ -1,3 +1,9 @@
|
|||
2002-02-20 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* background.c (background_attention): Cast pointer to long
|
||||
instead of int because it's unsafe of 64-bit systems.
|
||||
* main.c (init_xterm_support): Likewise.
|
||||
|
||||
2002-02-18 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* utilunix.c (canonicalize_pathname) [__QNX__]: Fix detection
|
||||
|
|
|
@ -285,7 +285,7 @@ background_attention (int fd, void *closure)
|
|||
}
|
||||
|
||||
/* If the routine is zero, then the child is telling us that he is dying */
|
||||
if ((int) routine == MSG_CHILD_EXITING){
|
||||
if ((long) routine == MSG_CHILD_EXITING){
|
||||
unregister_task_running (ctx->pid, fd);
|
||||
waitpid (ctx->pid, &status, 0);
|
||||
return 0;
|
||||
|
|
|
@ -1684,7 +1684,7 @@ init_xterm_support (void)
|
|||
#endif
|
||||
|
||||
/* -1 means invalid capability, shouldn't happen, but let's make it 0 */
|
||||
if ((int) xmouse_seq == -1) {
|
||||
if ((long) xmouse_seq == -1) {
|
||||
xmouse_seq = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue