Mercurial > hg-stable
changeset 24622:1e05f11619bb
parsers.c: avoid implicit conversion loses integer precision warning
This warning is raised by Apple LLVM version 6.0 (clang-600.0.57)
(based on LLVM 3.5svn) and was introduced in 670aaee7931c
author | André Sintzoff <andre.sintzoff@gmail.com> |
---|---|
date | Sat, 04 Apr 2015 11:27:15 +0200 |
parents | 7c6f9097e2e0 |
children | 2262d7bc469e |
files | mercurial/parsers.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/parsers.c Fri Apr 03 14:41:18 2015 -0700 +++ b/mercurial/parsers.c Sat Apr 04 11:27:15 2015 +0200 @@ -189,7 +189,7 @@ &PyFunction_Type, &normcase_fallback)) goto quit; - spec = PyInt_AS_LONG(spec_obj); + spec = (int)PyInt_AS_LONG(spec_obj); switch (spec) { case NORMCASE_LOWER: table = lowertable;