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-13 09:33:18 +0000 |
commit | 0acbcde6c8a2ca0539c7cd18698a797a23b75beb (patch) | |
tree | 6841c9e34e705a1cd98cee77e8d92f5939b214c8 /po-docs/libguestfs-docs.pot | |
parent | 5394fab35408818bd71cf86df1f2353f1e193ff4 (diff) | |
download | libguestfs-0acbcde6c8a2ca0539c7cd18698a797a23b75beb.tar.gz libguestfs-0acbcde6c8a2ca0539c7cd18698a797a23b75beb.tar.xz libguestfs-0acbcde6c8a2ca0539c7cd18698a797a23b75beb.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.
(cherry picked from commit d66dd2260c724bdfe57a8595aac37c8e9173cee5)
Diffstat (limited to 'po-docs/libguestfs-docs.pot')
0 files changed, 0 insertions, 0 deletions