qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] e1be98: curses: fix wchar_t printf warning


From: Gerd Hoffmann
Subject: [Qemu-commits] [qemu/qemu] e1be98: curses: fix wchar_t printf warning
Date: Fri, 12 Apr 2019 05:37:24 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e1be98540ee672ef93292b65a986055512237c35
      
https://github.com/qemu/qemu/commit/e1be98540ee672ef93292b65a986055512237c35
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-04-12 (Fri, 12 Apr 2019)

  Changed paths:
    M ui/curses.c

  Log Message:
  -----------
  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 <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]