PCRE_INFO_SIZE requires a size_t argument

remotes/origin/3.3+ngcp2.6
Richard Fuchs 13 years ago
parent 8aef5fcc37
commit 014d206df7

@ -758,7 +758,8 @@ static pcre *reg_ex_comp(const char *pattern)
{
pcre *re, *result;
const char *error;
int rc, size, err_offset;
int rc, err_offset;
size_t size;
re = pcre_compile(pattern, 0, &error, &err_offset, NULL);
if (re == NULL) {

@ -260,7 +260,7 @@ static int load_pcres(int action)
char line[FILE_MAX_LINE];
char **patterns = NULL;
pcre *pcre_tmp = NULL;
int pcre_size;
size_t pcre_size;
int pcre_rc;
const char *pcre_error;
int pcre_erroffset;

Loading…
Cancel
Save