qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [6331] qemu-img: Fix type of getopt return value (Kevin Wol


From: Anthony Liguori
Subject: [Qemu-devel] [6331] qemu-img: Fix type of getopt return value (Kevin Wolf)
Date: Thu, 15 Jan 2009 21:42:12 +0000

Revision: 6331
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6331
Author:   aliguori
Date:     2009-01-15 21:42:12 +0000 (Thu, 15 Jan 2009)

Log Message:
-----------
qemu-img: Fix type of getopt return value (Kevin Wolf)

getopt doesn't return a char but an int.

Signed-off-by: Kevin Wolf <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

Modified Paths:
--------------
    trunk/qemu-img.c

Modified: trunk/qemu-img.c
===================================================================
--- trunk/qemu-img.c    2009-01-15 21:39:41 UTC (rev 6330)
+++ trunk/qemu-img.c    2009-01-15 21:42:12 UTC (rev 6331)
@@ -751,8 +751,7 @@
     BlockDriverState *bs;
     QEMUSnapshotInfo sn;
     char *filename, *snapshot_name = NULL;
-    char c;
-    int ret;
+    int c, ret;
     int action = 0;
     qemu_timeval tv;
 






reply via email to

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