Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- text-utils/ul.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/text-utils/ul.c b/text-utils/ul.c index c2c19f6..add419b 100644 --- a/text-utils/ul.c +++ b/text-utils/ul.c @@ -464,11 +464,11 @@ static void iattr(void) { register int i; #ifdef __GNUC__ - register char *lbuf = __builtin_alloca((maxcol+1)*sizeof(char)); + register wchar_t *lbuf = __builtin_alloca((maxcol+1)*sizeof(wchar_t)); #else - char lbuf[BUFSIZ]; + wchar_t lbuf[BUFSIZ]; #endif - register char *cp = lbuf; + register wchar_t *cp = lbuf; for (i = 0; i < maxcol; i++) switch (obuf[i].c_mode) { -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html