Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > ff071ec050f7073ea7f012d2177b9ca4 > files > 2

boson-0.13-2mdv2008.0.src.rpm

--- boson-all-0.13/code/boson/gameengine/script/pythonscript.cpp.ssize_t	2006-09-06 17:47:35.000000000 +0200
+++ boson-all-0.13/code/boson/gameengine/script/pythonscript.cpp	2007-01-04 18:59:33.000000000 +0100
@@ -688,7 +688,7 @@
   //  variables or submodules dict if possible.
   PyObject* key;
   PyObject* value;
-  int pos = 0;
+  ssize_t pos = 0;
   while(PyDict_Next(moduledict, &pos, &key, &value))
   {
     // Check if value is any of the known types
@@ -774,7 +774,7 @@
   boDebug(700) << k_funcinfo << "Loading and merging " << PyDict_Size(submodules) << " submodules" << endl;
   PyObject* key;
   PyObject* value;
-  int pos = 0;
+  ssize_t pos = 0;
   while(PyDict_Next(submodules, &pos, &key, &value))
   {
     // Check if current module already has module with this name