[pytango] 252/483: fix compiler warning

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit 6d3d72226f2b0426fd27c0a532989c1d4102b6dc
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Tue May 14 20:04:11 2013 +0000

    fix compiler warning
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@22673 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 src/boost/cpp/device_attribute_numpy.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/boost/cpp/device_attribute_numpy.hpp b/src/boost/cpp/device_attribute_numpy.hpp
index e15c5b5..9932620 100644
--- a/src/boost/cpp/device_attribute_numpy.hpp
+++ b/src/boost/cpp/device_attribute_numpy.hpp
@@ -252,7 +252,7 @@ namespace PyDeviceAttribute {
                 }
             }
         } else {
-            for (unsigned long x=0; x < dim_x; ++x) {
+            for (Py_ssize_t x=0; x < dim_x; ++x) {
                 PyObject* dataObj = PyArray_GETITEM(array, iter->dataptr);
                 const object py_data = object( handle<>( dataObj ) );
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list