diff options
| author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-03 15:14:54 +0200 |
|---|---|---|
| committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-09-18 13:13:30 +0200 |
| commit | 840bcfe7a266604604a2b4a34ad68acba85ed0a7 (patch) | |
| tree | 62016c48fde68f68f44c31d8c7b509ba523856d8 /python_modules/codegen.py | |
| parent | 9385db68756f6b798e6342993d3acaf3304b363c (diff) | |
| download | spice-common-840bcfe7a266604604a2b4a34ad68acba85ed0a7.tar.gz spice-common-840bcfe7a266604604a2b4a34ad68acba85ed0a7.tar.xz spice-common-840bcfe7a266604604a2b4a34ad68acba85ed0a7.zip | |
python: Fix -Wsign-compare
The return of the get_array_size() is used as a limit in a loop,
being compared with an unsigned index (indexes are always unsigned).
To avoid the -Wsign-compare warning, let's cast the return of the
get_array_size() to unsigned and make GCC happier.
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions
