commit | aa6d8504772e7754163a109fb6bcbfbe13c3212b | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Apr 27 18:58:20 2012 -0400 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Apr 27 23:38:24 2012 +0000 |
tree | 510e90da103bf47d68c9b75d1467506186b83747 | |
parent | 84e50fc76406523c0e46e50d60421ce04be15f45 [diff] |
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>