diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-16 12:06:06 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-16 12:06:06 +0100 |
commit | e6ce8c11c114a794f5523eaaec52688716873b72 (patch) | |
tree | 6e32c4075b0bef0cfa7a9c3ece4294db7a10c046 /src/regerror.c | |
parent | b0e9d5f1322c403a2ba1df7f86e27d2514f576da (diff) | |
parent | 23c9de60f30041419f3925221d4faff4e7a54717 (diff) |
Update upstream source from tag 'upstream/6.9.10'
Update to upstream version '6.9.10'
with Debian dir f57d7dda5731072db02e6579c5e469f7d62c047f
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; |