From e1d77909689231060de746c7dae5ee08fe8bb811 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 23 Oct 2007 21:59:33 +0000 Subject: [PATCH] VC++ warning fix git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10031 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/swigrun.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /*