summaryrefslogtreecommitdiffstats
path: root/daemon/debug.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-12 16:27:10 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-12 16:27:10 +0000
commitd66dd2260c724bdfe57a8595aac37c8e9173cee5 (patch)
treeba15c128b3acede41361125aaa0c569bbbc870d3 /daemon/debug.c
parent17182af3a6de8e3e94e0a914416c54f09bb74007 (diff)
downloadlibguestfs-d66dd2260c724bdfe57a8595aac37c8e9173cee5.tar.gz
libguestfs-d66dd2260c724bdfe57a8595aac37c8e9173cee5.tar.xz
libguestfs-d66dd2260c724bdfe57a8595aac37c8e9173cee5.zip
Fix strict-overflow bugs and reenable this warning.
In two places, we were counting things in an array using an 'int'. In theory, the int could overflow, so gcc determines this to be undefined behaviour. The fix is to use size_t or ssize_t instead.
Diffstat (limited to 'daemon/debug.c')
0 files changed, 0 insertions, 0 deletions