commit | 3cd3e7ab17535f48969b7e5467d5bbdebbecebed | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jun 29 17:52:02 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jun 29 17:52:02 2012 +0200 |
tree | 19006daa11b8c64e83b6a03fbfb33ee24a3d947b | |
parent | 2afa3238a13fe3f4769fa777ada34ec0d1ea5548 [diff] [blame] |
updated for version 7.3.580 Problem: Warning on 64 bit MS-Windows. Solution: Add type cast. (Mike Williams)
diff --git a/src/if_py_both.h b/src/if_py_both.h index 8229458..0912ee0 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h
@@ -495,7 +495,7 @@ if (!PyArg_ParseTuple(args, "s", &expr)) return NULL; - return PyLong_FromLong(mb_string2cells((char_u *)expr, STRLEN(expr))); + return PyLong_FromLong(mb_string2cells((char_u *)expr, (int)STRLEN(expr))); } /*