diff options
| author | xXx-caillou-xXx | 2018-08-28 18:16:11 +0200 |
|---|---|---|
| committer | jvoisin | 2018-08-28 16:16:11 +0000 |
| commit | a0300b15a3afffe02c737d263c3d6dd31ac307b7 (patch) | |
| tree | 0f03abc2ae41653c61de2e34a93292b15a200046 /src/sp_pcre_compat.c | |
| parent | 888242c30d822392953e1b5f4fc289a96e9da5e0 (diff) | |
Fix some compilation warnings
Diffstat (limited to 'src/sp_pcre_compat.c')
| -rw-r--r-- | src/sp_pcre_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_pcre_compat.c b/src/sp_pcre_compat.c index 3b3b7f5..d58d0c4 100644 --- a/src/sp_pcre_compat.c +++ b/src/sp_pcre_compat.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | sp_pcre* sp_pcre_compile(const char* const pattern) { | 5 | sp_pcre* sp_pcre_compile(const char* const pattern) { |
| 6 | sp_pcre* ret = NULL; | 6 | sp_pcre* ret = NULL; |
| 7 | #ifdef SP_HAS_PCRE2 | 7 | #ifdef SP_HAS_PCRE2 |
| 8 | char pcre_error[128] = {0}; | 8 | unsigned char pcre_error[128] = {0}; |
| 9 | int errornumber; | 9 | int errornumber; |
| 10 | PCRE2_SIZE erroroffset; | 10 | PCRE2_SIZE erroroffset; |
| 11 | ret = pcre2_compile((PCRE2_SPTR)pattern, PCRE2_ZERO_TERMINATED, | 11 | ret = pcre2_compile((PCRE2_SPTR)pattern, PCRE2_ZERO_TERMINATED, |
