diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-03-12 16:27:10 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-12 16:27:10 +0000 |
commit | d66dd2260c724bdfe57a8595aac37c8e9173cee5 (patch) | |
tree | ba15c128b3acede41361125aaa0c569bbbc870d3 /fish/tilde.c | |
parent | 17182af3a6de8e3e94e0a914416c54f09bb74007 (diff) | |
download | libguestfs-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 'fish/tilde.c')
0 files changed, 0 insertions, 0 deletions