Skip to contentSkip to conversation

QMP queue

GIT PULL Luiz Capitulino 2 participants 3 messages Nov 29, 2012 – Nov 30, 2012

lore
Share & tools
lore
#0 lore raw

This is an important fix as it fixes a 32-bit breakage.

The changes (since e9bff10f8db94912b1b0e6e2e3394cae02faf614) are available in the following repository:

git://repo.or.cz/qemu/qmp-unstable.git queue/qmp

Bruce Rogers (1):
qapi: fix qapi_dealloc_type_size parameter type

 qapi/qapi-dealloc-visitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.8.0
#1 lore raw

[Qemu-devel] [PULL] qapi: fix qapi_dealloc_type_size parameter type

From: Bruce Rogers <[email protected]>

The second parameter to qapi_dealloc_type_size should be a uint64_t *, not a size_t *. This was causing our 32 bit x86 build to fail, since warnings are treated as errors.

---
 qapi/qapi-dealloc-visitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi/qapi-dealloc-visitor.c +1 -1
index a07b171..75214e7 100644
@@ -132,7 +132,7 @@ static void qapi_dealloc_type_number(Visitor *v, double *obj, const char *name,
 {
 }
 
-static void qapi_dealloc_type_size(Visitor *v, size_t *obj, const char *name,
+static void qapi_dealloc_type_size(Visitor *v, uint64_t *obj, const char *name,
                                    Error **errp)
 {
 }
Signature · 1 line
1.8.0
#2 lore raw
In reply to Luiz Capitulino
Quoted 5 lines · Luiz Capitulino

This is an important fix as it fixes a 32-bit breakage.

The changes (since e9bff10f8db94912b1b0e6e2e3394cae02faf614) are available in the following repository:

Quoted 7 lines

git://repo.or.cz/qemu/qmp-unstable.git queue/qmp

Bruce Rogers (1):
qapi: fix qapi_dealloc_type_size parameter type

 qapi/qapi-dealloc-visitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Pulled. Thanks.

Regards,

Anthony Liguori

Quoted 3 lines
Signature · 2 lines
-- 
1.8.0