Skip to content

Commit

Permalink
fix 32-bit compilation with GCC14
Browse files Browse the repository at this point in the history
Wrong pointer type is used.
  • Loading branch information
neheb authored May 15, 2024
1 parent f8c3bcb commit 93d07ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/regexp.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ int uwsgi_regexp_build(char *re, uwsgi_pcre ** pattern) {

#ifdef UWSGI_PCRE2
int errnbr;
long unsigned int erroff;
size_t erroff;

*pattern = pcre2_compile((const unsigned char *) re, PCRE2_ZERO_TERMINATED, 0, &errnbr, &erroff, NULL);
#else
Expand Down

0 comments on commit 93d07ec

Please sign in to comment.