Stefan Weil d607a52364 qga: Fix compiler warnings (missing format attribute, wrong format strings)
gcc 4.8.2 reports this warning when extra warnings are enabled (-Wextra):

  CC    qga/commands.o
qga/commands.c: In function ‘slog’:
qga/commands.c:28:5: error:
 function might be possible candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]
     g_logv("syslog", G_LOG_LEVEL_INFO, fmt, ap);
     ^

gcc 4.8.2 reports this warning when slog is declared with the
gnu_printf format attribute:

qga/commands-posix.c: In function ‘qmp_guest_file_open’:
qga/commands-posix.c:404:5: warning:
 format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64_t’ [-Wformat=]
     slog("guest-file-open, handle: %d", handle);
     ^

On 32 bit hosts there are three more warnings which are also fixed here.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-11-21 17:39:25 +01:00
2013-04-18 13:50:53 +02:00
2013-07-09 13:38:56 -05:00
2013-11-21 17:38:57 +01:00
2013-08-07 12:48:00 -05:00
2013-11-08 04:33:19 +01:00
2013-11-18 15:57:59 +10:00
2013-11-19 10:28:14 +01:00
2013-05-03 13:58:09 +02:00
2013-11-13 16:02:28 +04:00
…
2013-10-26 13:01:57 +04:00
2013-10-11 09:34:56 -07:00
2013-09-05 09:40:31 -05:00
…
2013-10-11 10:52:54 +02:00
2013-10-11 09:34:56 -07:00
…
2013-11-06 21:47:05 -08:00
2013-11-04 15:39:41 +02:00
2013-07-23 02:41:31 +02:00
2013-10-17 10:10:14 +02:00
2013-08-12 09:15:12 -05:00
2013-09-03 12:25:55 +02:00
2013-09-06 15:25:08 +02:00
2013-05-18 16:35:12 +04:00
2013-11-18 13:45:10 +02:00
2013-07-19 12:52:03 +04:00
2013-05-01 13:06:07 +02:00
2013-09-02 09:08:29 -07:00
2013-10-11 09:34:56 -07:00
2013-09-25 21:23:05 +02:00
…
2013-11-06 21:49:39 -08:00
2013-10-11 09:34:56 -07:00
…
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
714 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%