From a437bff914aa4416e8a72ea444f226f84c8b11fd Mon Sep 17 00:00:00 2001 From: Sergey Melnikov Date: Wed, 21 Nov 2012 19:42:19 +0400 Subject: [PATCH] Bug: __WINT_TYPE__ and wint_t reference to different types __WINT_TYPE__ type provided by gcc. It references to unsigned int type for android and linux. Patch corrects wint_t typedef to __WINT_TYPE__. Signed-off-by: Sergey Melnikov Change-Id: Iabeb9fcb0b7bb303a8b220043e339126f125dd68 --- libc/include/wchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/include/wchar.h b/libc/include/wchar.h index b46985be3..ef88e043b 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h @@ -45,7 +45,7 @@ __BEGIN_DECLS -typedef int wint_t; +typedef __WINT_TYPE__ wint_t; typedef struct { int dummy; } mbstate_t; typedef enum {