diff options
author | Marcelo Matus <mmatus@acms.arizona.edu> | 2006-02-18 01:27:30 +0000 |
---|---|---|
committer | Marcelo Matus <mmatus@acms.arizona.edu> | 2006-02-18 01:27:30 +0000 |
commit | 555ffa5fb45759de518f521ec3bf5d1e38ac25a0 (patch) | |
tree | a33044933715fa7efb93a53b3ee8467652470509 /Lib/python | |
parent | f6411306125ba94ed522101bd7cc386baa9e56fa (diff) | |
download | swig-555ffa5fb45759de518f521ec3bf5d1e38ac25a0.tar.gz |
fix warning reported by Nitro in VC7
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/python')
-rw-r--r-- | Lib/python/pycontainer.swg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/python/pycontainer.swg b/Lib/python/pycontainer.swg index 638a2b1c9..18d200411 100644 --- a/Lib/python/pycontainer.swg +++ b/Lib/python/pycontainer.swg @@ -334,7 +334,7 @@ namespace swig typedef Reference reference; typedef T value_type; typedef T* pointer; - typedef ptrdiff_t difference_type; + typedef int difference_type; PySequence_InputIterator() { @@ -417,7 +417,7 @@ namespace swig private: PyObject* _seq; - int _index; + difference_type _index; }; template <class T> |