diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-16 12:06:04 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-16 12:06:04 +0100 |
commit | 23c9de60f30041419f3925221d4faff4e7a54717 (patch) | |
tree | 357c045bdafe11674151335bf4f7d65ae179478f /src/regerror.c | |
parent | 35e13e4c9637f5bf7bef6039c8c813207780a174 (diff) |
New upstream version 6.9.10upstream/6.9.10upstream
Diffstat (limited to 'src/regerror.c')
-rw-r--r-- | src/regerror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regerror.c b/src/regerror.c index 6d9abe2..72b0e3f 100644 --- a/src/regerror.c +++ b/src/regerror.c @@ -352,7 +352,7 @@ onig_error_code_to_str(UChar* s, int code, ...) void ONIG_VARIADIC_FUNC_ATTR onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, - UChar* pat, UChar* pat_end, const UChar *fmt, ...) + UChar* pat, UChar* pat_end, const char *fmt, ...) { int n, need, len; UChar *p, *s, *bp; @@ -360,7 +360,7 @@ onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, va_list args; va_start(args, fmt); - n = xvsnprintf((char* )buf, bufsize, (const char* )fmt, args); + n = xvsnprintf((char* )buf, bufsize, fmt, args); va_end(args); need = (int )(pat_end - pat) * 4 + 4; |