blob: 36d121ae59ddf5cebefa057a5e438579aa36ee63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
|