summaryrefslogtreecommitdiffstats
path: root/hw/adlib.c
diff options
context:
space:
mode:
authorStefan Weil2011-02-23 19:09:16 +0100
committerBlue Swirl2011-03-20 22:39:23 +0100
commite0efb993b817564ef84e462ac1fe35f89b57ad7b (patch)
tree805341589c14255dc94c5711d67140f346dcd1e5 /hw/adlib.c
parentpetalogix_ml605_mmu: remove unused variable (diff)
downloadqemu-e0efb993b817564ef84e462ac1fe35f89b57ad7b.tar.gz
qemu-e0efb993b817564ef84e462ac1fe35f89b57ad7b.tar.xz
qemu-e0efb993b817564ef84e462ac1fe35f89b57ad7b.zip
Fix conversions from pointer to int and vice versa
Here the int values fds[0], sigfd, s, sock and fd are converted to void pointers which are later converted back to an int value. These conversions should always use intptr_t instead of unsigned long. They are needed for environments where sizeof(long) != sizeof(void *). Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/adlib.c')
0 files changed, 0 insertions, 0 deletions