diff options
author | Wichert Akkerman <wichert@deephackmode.org> | 2002-03-31 19:00:02 +0000 |
---|---|---|
committer | Wichert Akkerman <wichert@deephackmode.org> | 2002-03-31 19:00:02 +0000 |
commit | 7ab47b63e3d58dfbe32ba909b222c1bc2a88c5c0 (patch) | |
tree | d0a5ee84c07207187db22de8fa8465c73326031f /io.c | |
parent | 0fddf434f3a7c6a18522643ce01c7454350a0a30 (diff) | |
download | strace-7ab47b63e3d58dfbe32ba909b222c1bc2a88c5c0.tar.gz strace-7ab47b63e3d58dfbe32ba909b222c1bc2a88c5c0.tar.bz2 strace-7ab47b63e3d58dfbe32ba909b222c1bc2a88c5c0.tar.xz |
Fix signed/unsigned problems
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -162,7 +162,7 @@ struct tcb *tcp; #else tprintf(", %lu, %llu", tcp->u_arg[2], (((unsigned long long) tcp->u_arg[4]) << 32 - | tcp->u_arg[3])); + | (unsigned) tcp->u_arg[3])); #endif } return 0; @@ -181,7 +181,7 @@ struct tcb *tcp; #else tprintf(", %lu, %llu", tcp->u_arg[2], (((unsigned long long) tcp->u_arg[4]) << 32 - | tcp->u_arg[3])); + | (unsigned) tcp->u_arg[3])); #endif } return 0; @@ -199,7 +199,7 @@ struct tcb *tcp; if (entering(tcp)) { tprintf("%ld, %ld, %llu, %lu", tcp->u_arg[0], tcp->u_arg[1], (((unsigned long long) tcp->u_arg[3]) << 32 | - tcp->u_arg[2]), tcp->u_arg[4]); + (unsigned) tcp->u_arg[2]), tcp->u_arg[4]); } else { off_t offset; |