diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 14:03:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 14:03:46 +0200 |
commit | 7f9a65862b37ee1fa596916ceb7c243e04612499 (patch) | |
tree | a636d629f0fd4b89c1ed767df819ecbf78ddf5eb /pyuno/source/module/pyuno_runtime.cxx | |
parent | 5ed2014684adaeaeb6d92efb4a3d6075f5cc43c3 (diff) |
loplugin:loopvartoosmall
Change-Id: I19d801444e4d1db5576b5742c60fc138384d3b70
Diffstat (limited to 'pyuno/source/module/pyuno_runtime.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 1aba10a0b7c7..e92ad56ed5d6 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -766,7 +766,7 @@ Any Runtime::pyObject2Any ( const PyRef & source, enum ConversionMode mode ) con { Py_ssize_t l = PyList_Size (o); Sequence<Any> s (l); - for (int i = 0; i < l; i++) + for (Py_ssize_t i = 0; i < l; i++) { s[i] = pyObject2Any (PyList_GetItem (o, i), mode ); } |