]> www.infradead.org Git - users/dwmw2/qemu.git/commit
pc-bios/s390-ccw: size_t should be unsigned
authorThomas Huth <thuth@redhat.com>
Fri, 13 Apr 2018 14:22:13 +0000 (16:22 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 2 May 2018 09:27:14 +0000 (11:27 +0200)
commite4f869621203955761cf274c87d5595e9facd319
tree38f6bfffafaffc09b3ff73bd5ad4b9a813166ac0
parent052888f043bacb18231046045b1f9cd946703170
pc-bios/s390-ccw: size_t should be unsigned

"size_t" should be an unsigned type according to the C standard.
Thus we should also use this convention in the s390-ccw firmware to avoid
confusion. I checked the sources, and apart from one spot in libc.c, the
code should all be fine with this change.

Buglink: https://bugs.launchpad.net/qemu/+bug/1753437
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Collin Walling <walling@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/libc.c
pc-bios/s390-ccw/libc.h