From 3b5b78dee6e5f0c552055ca7919f5915cc7e7165 Mon Sep 17 00:00:00 2001 From: Daniel Reinhold Date: Fri, 25 Oct 2002 11:21:50 +0000 Subject: [PATCH] type fix: replaced int type with proper wchar_t type for variable passed to mbtowc() git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1646 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/stdio/vfprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/libroot/posix/stdio/vfprintf.c b/src/kernel/libroot/posix/stdio/vfprintf.c index cfc2a34ef2..64f0689493 100644 --- a/src/kernel/libroot/posix/stdio/vfprintf.c +++ b/src/kernel/libroot/posix/stdio/vfprintf.c @@ -171,7 +171,7 @@ vfprintf(fp, fmt0, ap) int width; /* width from format (%8d), or 0 */ int prec; /* precision from format (%.3d), or -1 */ char sign; /* sign prefix (' ', '+', '-', or \0) */ - int wc; + wchar_t wc; #ifdef FLOATING_POINT char *decimal_point = localeconv()->decimal_point; char softsign; /* temporary negative sign for floats */