summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcreposix.c')
-rw-r--r--pcreposix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcreposix.c b/pcreposix.c
index 808c9da..c1a9d1c 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -274,7 +274,7 @@ should not happen, but we all make mistakes), return REG_BADPAT. */
if (preg->re_pcre == NULL)
{
- return (errorcode < sizeof(eint)/sizeof(const int))?
+ return (errorcode < (int)(sizeof(eint)/sizeof(const int)))?
eint[errorcode] : REG_BADPAT;
}