Revision: 1683
http://vcs.pcre.org/viewvc?view=rev&revision=1683
Author: ph10
Date: 2017-02-20 18:23:39 +0000 (Mon, 20 Feb 2017)
Log Message:
-----------
Cast to avoid compiler warning on 32-bit systems.
Modified Paths:
--------------
code/trunk/pcre_exec.c
Modified: code/trunk/pcre_exec.c
===================================================================
--- code/trunk/pcre_exec.c 2017-02-20 17:45:21 UTC (rev 1682)
+++ code/trunk/pcre_exec.c 2017-02-20 18:23:39 UTC (rev 1683)
@@ -669,7 +669,7 @@
return match((PCRE_PUCHAR)&rdepth, NULL, NULL, 0, NULL, NULL, 1);
else
{
- int len = (char *)&rdepth - (char *)eptr;
+ int len = (int)((char *)&rdepth - (char *)eptr);
return (len > 0)? -len : len;
}
}