--- clamav-0.99.4/libclamav/regex_pcre.c_orig 2018-03-02 19:10:39.702899702 +0100 +++ clamav-0.99.4/libclamav/regex_pcre.c 2018-03-02 19:09:27.600901912 +0100 @@ -112,7 +112,8 @@ #if USING_PCRE2 int cli_pcre_compile(struct cli_pcre_data *pd, long long unsigned match_limit, long long unsigned match_limit_recursion, unsigned int options, int opt_override) { - int errornum, erroffset; + int errornum; + size_t erroffset; pcre2_general_context *gctx; pcre2_compile_context *cctx;