Mercurial > hg > xemacs-beta
comparison src/process-unix.c @ 4031:0cc7794d231e
[xemacs-hg @ 2007-06-22 17:50:36 by stephent]
More 64-bit fiddling (suppress warnings). <87r6o350q9.fsf@uwakimon.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Fri, 22 Jun 2007 17:50:42 +0000 |
parents | 4c41ea11201a |
children | 5333f383efbd |
comparison
equal
deleted
inserted
replaced
4030:5bc9d592760f | 4031:0cc7794d231e |
---|---|
844 | 844 |
845 static void | 845 static void |
846 unix_init_process_io_handles (Lisp_Process *p, void *in, void *UNUSED (out), | 846 unix_init_process_io_handles (Lisp_Process *p, void *in, void *UNUSED (out), |
847 void *err, int UNUSED (flags)) | 847 void *err, int UNUSED (flags)) |
848 { | 848 { |
849 UNIX_DATA(p)->infd = (int) in; | 849 /* if sizeof(EMACS_INT) > sizeof(int) this truncates the value */ |
850 UNIX_DATA(p)->errfd = (int) err; | 850 UNIX_DATA(p)->infd = (EMACS_INT) in; |
851 UNIX_DATA(p)->errfd = (EMACS_INT) err; | |
851 } | 852 } |
852 | 853 |
853 /* Move the file descriptor FD so that its number is not less than MIN. * | 854 /* Move the file descriptor FD so that its number is not less than MIN. * |
854 The original file descriptor remains open. */ | 855 The original file descriptor remains open. */ |
855 static int | 856 static int |