diff options
Diffstat (limited to 'package/utils/ucode/patches/100-fix-int-format-on-32bit-system.patch')
-rw-r--r-- | package/utils/ucode/patches/100-fix-int-format-on-32bit-system.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/utils/ucode/patches/100-fix-int-format-on-32bit-system.patch b/package/utils/ucode/patches/100-fix-int-format-on-32bit-system.patch new file mode 100644 index 0000000000..c557d0c1bd --- /dev/null +++ b/package/utils/ucode/patches/100-fix-int-format-on-32bit-system.patch @@ -0,0 +1,11 @@ +--- a/lib.c ++++ b/lib.c +@@ -1438,7 +1438,7 @@ uc_printf_common(uc_vm_t *vm, size_t nar + + switch (t) { + case UC_INTEGER: +- ucv_stringbuf_printf(buf, sfmt, arg.n); ++ ucv_stringbuf_printf(buf, sfmt, (int)arg.n); + break; + + case UC_DOUBLE: |