diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 13:54:16 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 13:54:16 +0200 |
commit | 59f09db0b59c710e65aa075874f9d53f29ee18cf (patch) | |
tree | c6beaa0c2d015cae746d77a1abc6fea9f4a70c19 | |
parent | 35cfab06b50bc48dbf8fd2178197f52a8cfc2963 (diff) |
Fix gcc warning
* pflocal/io.c (copy_time): Make `to_nsec` parameter a long * instead of an
unsigned long *.
-rw-r--r-- | pflocal/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pflocal/io.c b/pflocal/io.c index 0dec56e0..67d0349e 100644 --- a/pflocal/io.c +++ b/pflocal/io.c @@ -308,7 +308,7 @@ S_io_stat (struct sock_user *user, struct stat *st) struct sock *sock; struct pipe *rpipe, *wpipe; - void copy_time (time_value_t *from, time_t *to_sec, unsigned long *to_nsec) + void copy_time (time_value_t *from, time_t *to_sec, long *to_nsec) { *to_sec = from->seconds; *to_nsec = from->microseconds * 1000; |