diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-04-27 18:58:20 -0400 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2012-04-27 23:38:24 +0000 |
commit | aa6d8504772e7754163a109fb6bcbfbe13c3212b (patch) | |
tree | 510e90da103bf47d68c9b75d1467506186b83747 /NEWS | |
parent | 84e50fc76406523c0e46e50d60421ce04be15f45 (diff) | |
download | strace-aa6d8504772e7754163a109fb6bcbfbe13c3212b.tar.gz strace-aa6d8504772e7754163a109fb6bcbfbe13c3212b.tar.bz2 strace-aa6d8504772e7754163a109fb6bcbfbe13c3212b.tar.xz |
Cast current_wordsize to an int
On 64bit systems with a single personality, we see:
count.c: In function 'call_summary':
count.c:223:5: warning: format '%u' expects type 'unsigned int',
but argument 3 has type 'long unsigned int'
Since on multi-personality systems this is an array of ints, cast
the multiplication to an int and update the printf format.
* count.c (call_summary): Change %u to %d and cast first argument to int.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions