vc++ warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
94a788c30f
commit
e8e8527642
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ namespace std {
|
|||
{
|
||||
bool res;
|
||||
SWIG_PYTHON_THREAD_BEGIN_BLOCK;
|
||||
res = PyObject_RichCompareBool(v, w, Py_LT);
|
||||
res = PyObject_RichCompareBool(v, w, Py_LT) ? true : false;
|
||||
/* This may fall into a case of inconsistent
|
||||
eg. ObjA > ObjX > ObjB
|
||||
but ObjA < ObjB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue