From 23c9de60f30041419f3925221d4faff4e7a54717 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= <debian@jff.email>
Date: Sun, 16 Mar 2025 12:06:04 +0100
Subject: New upstream version 6.9.10

---
 src/regerror.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/regerror.c')

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;
-- 
cgit v1.2.3