OSDN Git Service

hw/display/qxl: Fix bad printf format specifiers
authorAlex Chen <alex.chen@huawei.com>
Thu, 19 Nov 2020 02:58:51 +0000 (02:58 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Feb 2021 13:32:40 +0000 (14:32 +0100)
commitada6f6f4a34351c1320d30e4fc495c1d536bd19c
tree941e792a47f4d0679fbcdf3090c45b20dcdcf695
parentdb754f8ccaf2f073c9aed46a4389e9c0c2080399
hw/display/qxl: Fix bad printf format specifiers

We should use printf format specifier "%u" instead of "%d" for
argument of type "unsigned int".

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Message-id: 20201119025851.56487-1-alex.chen@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/qxl-logger.c
hw/display/qxl.c