[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix 32-bit compilation with gcc 5.5
From: |
Andrew Randrianasulu |
Subject: |
[Qemu-devel] [PATCH] Fix 32-bit compilation with gcc 5.5 |
Date: |
Fri, 29 Mar 2019 09:48:53 +0300 |
---
ui/curses.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/curses.c b/ui/curses.c
index cc6d6da684..b25814f3fb 100644
--- a/ui/curses.c
+++ b/ui/curses.c
@@ -453,7 +453,7 @@ static uint16_t get_ucs(wchar_t wch, iconv_t conv)
swch = sizeof(wch);
if (iconv(conv, &pwch, &swch, &pch, &sch) == (size_t) -1) {
- fprintf(stderr, "Could not convert 0x%02x from WCHAR_T to UCS-2: %s\n",
+ fprintf(stderr, "Could not convert 0x%02lx from WCHAR_T to UCS-2:
%s\n",
wch, strerror(errno));
return 0xFFFD;
}
--
2.14.4
- [Qemu-devel] [PATCH] Fix 32-bit compilation with gcc 5.5,
Andrew Randrianasulu <=