aboutsummaryrefslogtreecommitdiff
path: root/Lib/swigrun.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/swigrun.swg')
-rw-r--r--Lib/swigrun.swg2
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));
}
/*