From 92cbde109911132f69c41563066e997a947b6412 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Fri, 25 Mar 2011 00:56:14 +0100
Subject: [PATCH 197/396] _scanf.c: fix to signedness warnings

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libc/stdio/_scanf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c
index fb08548..0005065 100644
--- a/libc/stdio/_scanf.c
+++ b/libc/stdio/_scanf.c
@@ -385,9 +385,9 @@ int vswscanf(const wchar_t * __restrict str, const wchar_t * __restrict format,
 	FILE f;
 
 	f.__bufstart =
-	f.__bufpos = (char *) str;
+	f.__bufpos = (unsigned char *) str;
 	f.__bufread =
-	f.__bufend = (char *)(str + wcslen(str));
+	f.__bufend = (unsigned char *)(str + wcslen(str));
 	__STDIO_STREAM_DISABLE_GETC(&f);
 	__STDIO_STREAM_DISABLE_PUTC(&f);
 
-- 
1.7.0.4

