diff options
Diffstat (limited to '0006-Fix-for-tool-Munch-when-compiling-with-Mingw64-for-6.patch')
-rw-r--r-- | 0006-Fix-for-tool-Munch-when-compiling-with-Mingw64-for-6.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/0006-Fix-for-tool-Munch-when-compiling-with-Mingw64-for-6.patch b/0006-Fix-for-tool-Munch-when-compiling-with-Mingw64-for-6.patch deleted file mode 100644 index 983284f1bdc5..000000000000 --- a/0006-Fix-for-tool-Munch-when-compiling-with-Mingw64-for-6.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -aurN 0005/src/tools/munch.cxx 0006/src/tools/munch.cxx ---- 0005/src/tools/munch.cxx -+++ 0006/src/tools/munch.cxx -@@ -839,9 +839,9 @@ - if (n > 0) { - char* dp = (char*)memchr(mp, (int)((unsigned char)delim), n); - if (dp) { -- int nc; -+ ptrdiff_t nc; - *stringp = dp + 1; -- nc = (int)((unsigned long)dp - (unsigned long)mp); -+ nc = dp - mp; - rv = (char*)malloc(nc + 1); - if (rv) { - memcpy(rv, mp, nc); -diff -aurN 0005/src/tools/unmunch.cxx 0006/src/tools/unmunch.cxx ---- 0005/src/tools/unmunch.cxx -+++ 0006/src/tools/unmunch.cxx -@@ -516,9 +516,9 @@ - if (n > 0) { - char* dp = (char*)memchr(mp, (int)((unsigned char)delim), n); - if (dp) { -- int nc; -+ ptrdiff_t nc; - *stringp = dp + 1; -- nc = (int)((unsigned long)dp - (unsigned long)mp); -+ nc = dp - mp; - rv = (char*)malloc(nc + 1); - if (rv) { - memcpy(rv, mp, nc); |