diff options
Diffstat (limited to 'main/rtapd/musl-strtoq.patch')
-rw-r--r-- | main/rtapd/musl-strtoq.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/rtapd/musl-strtoq.patch b/main/rtapd/musl-strtoq.patch new file mode 100644 index 0000000000..2fd19012fc --- /dev/null +++ b/main/rtapd/musl-strtoq.patch @@ -0,0 +1,20 @@ +--- ./rtapd.c.orig ++++ ./rtapd.c +@@ -466,7 +466,7 @@ + funct = *(pblock + 5); + memcpy(id, pblock + 6, 8); + id[8] = '\0'; +- pagenum = strtoq(id, NULL, 16); ++ pagenum = strtoll(id, NULL, 16); + sprintf(id, "!%qX", pagenum); + pxend = strchr(id, '\0'); + pblock = pblock + 13; +@@ -527,7 +527,7 @@ + } + memcpy(id, pblock + 7, usedlen); + id[usedlen] = '\0'; +- pagenum = strtoq(id, NULL, 16); ++ pagenum = strtoll(id, NULL, 16); + sprintf(id, "!%qX", pagenum); + pxend = strchr(id, '\0'); + pblock = pblock + 6 + caplen + msnlen; |