]> Git Repo - qemu.git/commit
curses: fix wchar_t printf warning
authorGerd Hoffmann <[email protected]>
Tue, 2 Apr 2019 07:30:18 +0000 (09:30 +0200)
committerPeter Maydell <[email protected]>
Fri, 12 Apr 2019 11:58:00 +0000 (12:58 +0100)
commite1be98540ee672ef93292b65a986055512237c35
tree2034111c5eac0118ae520fea33ae26ae9ff8ba8d
parent9e4a484b4a9e4c03682a4c42fdef8c1a9ac433b5
curses: fix wchar_t printf warning

On some systems wchar_t is "long int", on others just "int".
So go cast to "long int" and adjust the printf format accordingly.

Reported-by: Mark Cave-Ayland <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20190402073018[email protected]
Signed-off-by: Peter Maydell <[email protected]>
ui/curses.c
This page took 0.02299 seconds and 4 git commands to generate.