mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 04:38:06 +00:00
12 lines
390 B
Diff
12 lines
390 B
Diff
--- a/Src/Modules/pcre.c
|
|
+++ b/Src/Modules/pcre.c
|
|
@@ -152,7 +152,7 @@ zpcre_get_substrings(pcre2_code *pat, ch
|
|
int nelem = captured_count - 1;
|
|
/* Set to the offsets of the complete match */
|
|
if (want_offset_pair) {
|
|
- sprintf(offset_all, "%ld %ld", ovec[0], ovec[1]);
|
|
+ sprintf(offset_all, "%zd %zd", ovec[0], ovec[1]);
|
|
setsparam("ZPCRE_OP", ztrdup(offset_all));
|
|
}
|
|
/*
|