Revision: 1358
http://vcs.pcre.org/viewvc?view=rev&revision=1358
Author: zherczeg
Date: 2013-08-29 14:40:47 +0100 (Thu, 29 Aug 2013)
Log Message:
-----------
Fix an MSVC compiler warning. Patch by Evgeny Grin.
Modified Paths:
--------------
code/trunk/pcre_jit_compile.c
Modified: code/trunk/pcre_jit_compile.c
===================================================================
--- code/trunk/pcre_jit_compile.c 2013-08-27 15:49:16 UTC (rev 1357)
+++ code/trunk/pcre_jit_compile.c 2013-08-29 13:40:47 UTC (rev 1358)
@@ -481,8 +481,8 @@
group contains the start / end character pointers, and the second is
the start pointers when the end of the capturing group has not yet reached. */
#define OVECTOR_START (common->ovector_start)
-#define OVECTOR(i) (OVECTOR_START + (i) * sizeof(sljit_sw))
-#define OVECTOR_PRIV(i) (common->cbra_ptr + (i) * sizeof(sljit_sw))
+#define OVECTOR(i) (OVECTOR_START + (i) * (sljit_sw)sizeof(sljit_sw))
+#define OVECTOR_PRIV(i) (common->cbra_ptr + (i) * (sljit_sw)sizeof(sljit_sw))
#define PRIVATE_DATA(cc) (common->private_data_ptrs[(cc) - common->start])
#if defined COMPILE_PCRE8