[Libreoffice-commits] core.git: pyuno/source
Stephan Bergmann
sbergman at redhat.com
Fri Jun 26 05:04:26 PDT 2015
pyuno/source/module/pyuno_runtime.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7f9a65862b37ee1fa596916ceb7c243e04612499
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jun 26 14:03:46 2015 +0200
loplugin:loopvartoosmall
Change-Id: I19d801444e4d1db5576b5742c60fc138384d3b70
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index 1aba10a..e92ad56 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 );
}
More information about the Libreoffice-commits
mailing list