diff options
author | 2014-03-19 05:17:01 +0000 | |
---|---|---|
committer | 2014-03-19 05:17:01 +0000 | |
commit | 7eff07bf935823e1931ad1b2db63ba4979c50e5e (patch) | |
tree | a5a1159c0ec89c76933d4765ed6c138a638e2734 /lib/libc/stdio/vfprintf.c | |
parent | It's safe to assumed 'signed' exists (diff) | |
download | wireguard-openbsd-7eff07bf935823e1931ad1b2db63ba4979c50e5e.tar.xz wireguard-openbsd-7eff07bf935823e1931ad1b2db63ba4979c50e5e.zip |
It's still safe to assumed 'signed' exists
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r-- | lib/libc/stdio/vfprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c index dbbc46d94df..86b540e92c0 100644 --- a/lib/libc/stdio/vfprintf.c +++ b/lib/libc/stdio/vfprintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfprintf.c,v 1.64 2013/11/01 19:05:10 guenther Exp $ */ +/* $OpenBSD: vfprintf.c,v 1.65 2014/03/19 05:17:01 guenther Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -398,7 +398,7 @@ __vfprintf(FILE *fp, const char *fmt0, __va_list ap) flags&PTRINT ? GETARG(ptrdiff_t) : \ flags&SIZEINT ? GETARG(ssize_t) : \ flags&SHORTINT ? (short)GETARG(int) : \ - flags&CHARINT ? (__signed char)GETARG(int) : \ + flags&CHARINT ? (signed char)GETARG(int) : \ GETARG(int))) #define UARG() \ ((uintmax_t)(flags&MAXINT ? GETARG(uintmax_t) : \ @@ -809,7 +809,7 @@ fp_common: else if (flags & SHORTINT) *GETARG(short *) = ret; else if (flags & CHARINT) - *GETARG(__signed char *) = ret; + *GETARG(signed char *) = ret; else if (flags & PTRINT) *GETARG(ptrdiff_t *) = ret; else if (flags & SIZEINT) |