]> Git Repo - qemu.git/commit
qdev: avoid type casts between signed and unsigned
authorMarc-André Lureau <[email protected]>
Wed, 7 Jun 2017 16:36:09 +0000 (20:36 +0400)
committerMarkus Armbruster <[email protected]>
Tue, 20 Jun 2017 12:31:32 +0000 (14:31 +0200)
commit3fb2111fc9bb9c73bae81c6696bcf333690147b0
tree42de6d088d7f095d601d17ceee95678937bc3dfa
parent76318657a803c542cdee232c8507dec8004e2478
qdev: avoid type casts between signed and unsigned

Modify the unsigned type for various properties to use QNUM_U64, to
avoid type casts.

There are a few empty lines added to improve code reading/style.

Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <20170607163635[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
[Change to set_default_value_enum() dropped]
Signed-off-by: Markus Armbruster <[email protected]>
hw/core/qdev-properties.c
include/hw/qdev-core.h
include/hw/qdev-properties.h
This page took 0.026949 seconds and 4 git commands to generate.