[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix build error in usb-ccid code
From: |
Dmitry Eremin-Solenikov |
Subject: |
[Qemu-devel] [PATCH] Fix build error in usb-ccid code |
Date: |
Mon, 4 Apr 2011 16:31:21 +0400 |
W/o this fix I'm getting the following error:
cc1: warnings being treated as errors
hw/usb-ccid.c: In function ‘ccid_card_card_error’:
hw/usb-ccid.c:1202:5: error: format ‘%lX’ expects type ‘long unsigned int’, but
argument 2 has type ‘uint64_t’
Signed-off-by: Dmitry Eremin-Solenikov <address@hidden>
---
hw/usb-ccid.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/usb-ccid.c b/hw/usb-ccid.c
index 723b2e3..5c80cbd 100644
--- a/hw/usb-ccid.c
+++ b/hw/usb-ccid.c
@@ -1199,7 +1199,7 @@ void ccid_card_card_error(CCIDCardState *card, uint64_t
error)
s->bmCommandStatus = COMMAND_STATUS_FAILED;
s->last_answer_error = error;
- DPRINTF(s, 1, "VSC_Error: %lX\n", s->last_answer_error);
+ DPRINTF(s, 1, "VSC_Error: %LX\n", s->last_answer_error);
/* TODO: these error's should be more verbose and propogated to the
guest.*/
/*
* We flush all pending answers on CardRemove message in
ccid-card-passthru,
--
1.7.4.1
- [Qemu-devel] [PATCH] Fix build error in usb-ccid code,
Dmitry Eremin-Solenikov <=