diff options
Diffstat (limited to 'vcpkg/ports/distorm/fix-arm-builds.patch')
| -rw-r--r-- | vcpkg/ports/distorm/fix-arm-builds.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/distorm/fix-arm-builds.patch b/vcpkg/ports/distorm/fix-arm-builds.patch new file mode 100644 index 0000000..cf29212 --- /dev/null +++ b/vcpkg/ports/distorm/fix-arm-builds.patch @@ -0,0 +1,12 @@ +--- a/src/textdefs.c
++++ b/src/textdefs.c
+@@ -42,7 +42,8 @@
+ s->length = len * 2;
+ s->p[len * 2] = 0;
+ do {
+- RSHORT(&s->p[i]) = RSHORT(&TextBTable[(*buf) * 2]);
++ s->p[i] = TextBTable[(*buf) * 2];
++ s->p[i + 1] = TextBTable[(*buf) * 2 + 1];
+ buf++;
+ i += 2;
+ } while (i < len * 2);
|