[Mobies-commit] [commit] r4399 - UDM/trunk/src/UdmPython
ksmyth at svn.isis.vanderbilt.edu
ksmyth at svn.isis.vanderbilt.edu
Mon Nov 20 11:12:20 CST 2017
Author: ksmyth
Date: Mon Nov 20 11:12:20 2017
New Revision: 4399
Log:
UdmPython: fix warning
Modified:
UDM/trunk/src/UdmPython/UdmPython.cpp
UDM/trunk/src/UdmPython/setup.py
Modified: UDM/trunk/src/UdmPython/UdmPython.cpp
==============================================================================
--- UDM/trunk/src/UdmPython/UdmPython.cpp Mon Nov 20 11:12:17 2017 (r4398)
+++ UDM/trunk/src/UdmPython/UdmPython.cpp Mon Nov 20 11:12:20 2017 (r4399)
@@ -553,9 +553,9 @@
}
} else {
// FIXME: should work with _targets.__iter__() instead
- int len_targets = boost::python::len(_targets);
+ size_t len_targets = boost::python::len(_targets);
targets_impl.reserve(len_targets);
- for (int i = 0; i < len_targets; i++) {
+ for (size_t i = 0; i < len_targets; i++) {
Udm::Object& o = extract<Udm::Object&>(_targets[i]);
targets_impl.push_back(o.__impl());
if (o.__impl()->__getdn()->uniqueId() != self.__impl()->__getdn()->uniqueId()) {
Modified: UDM/trunk/src/UdmPython/setup.py
==============================================================================
--- UDM/trunk/src/UdmPython/setup.py Mon Nov 20 11:12:17 2017 (r4398)
+++ UDM/trunk/src/UdmPython/setup.py Mon Nov 20 11:12:20 2017 (r4399)
@@ -34,7 +34,7 @@
if platform.system() == 'Windows':
class my_build_ext(build_ext):
def build_extension(self, ext):
- ''' Copies the already-compiled pyd
+ ''' Compiles the .pyd with msbuild
'''
import shutil
import os.path
More information about the Mobies-commit
mailing list