diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2007-10-23 21:59:33 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2007-10-23 21:59:33 +0000 |
commit | e1d77909689231060de746c7dae5ee08fe8bb811 (patch) | |
tree | 541f8ef60f9402e82515223a3a41aaa0d8485bad /Lib/swigrun.swg | |
parent | 6d796af70dc9cf4cc5e4ea16eee0f46670af6b16 (diff) | |
download | swig-e1d77909689231060de746c7dae5ee08fe8bb811.tar.gz |
VC++ warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swigrun.swg')
-rw-r--r-- | Lib/swigrun.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/swigrun.swg b/Lib/swigrun.swg index 3c91e8429..9a3e56a64 100644 --- a/Lib/swigrun.swg +++ b/Lib/swigrun.swg @@ -230,7 +230,7 @@ SWIG_TypeNameComp(const char *f1, const char *l1, while ((*f2 == ' ') && (f2 != l2)) ++f2; if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; } - return (l1 - f1) - (l2 - f2); + return (int)((l1 - f1) - (l2 - f2)); } /* |