summaryrefslogtreecommitdiff
path: root/emulators/twin/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/twin/patches/patch-ao')
-rw-r--r--emulators/twin/patches/patch-ao16
1 files changed, 16 insertions, 0 deletions
diff --git a/emulators/twin/patches/patch-ao b/emulators/twin/patches/patch-ao
new file mode 100644
index 00000000000..36d121ae59d
--- /dev/null
+++ b/emulators/twin/patches/patch-ao
@@ -0,0 +1,16 @@
+$NetBSD: patch-ao,v 1.1 2006/01/15 19:20:59 joerg Exp $
+
+--- windows/vsprintf32.c.orig 2006-01-15 18:59:25.000000000 +0000
++++ windows/vsprintf32.c
+@@ -264,9 +264,9 @@ wsprintfW(char * buf, LPCWSTR format, ..
+ num = va_arg(args, unsigned long);
+ else if (qualifier == 'h')
+ if (flags & SIGN)
+- num = va_arg(args, short);
++ num = va_arg(args, int);
+ else
+- num = va_arg(args, unsigned short);
++ num = va_arg(args, unsigned int);
+ else if (flags & SIGN)
+ num = va_arg(args, int);
+ else