diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-02-23 19:40:14 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-25 15:58:59 +0000 |
commit | 89d2d3af518879ddfca367e56627229a09e90352 (patch) | |
tree | c8b1ae1bd402694619085b31f320ec3fa04ae174 /gdb-xml | |
parent | c3febae62b646b5bc7aa88b7cffa88160162a94e (diff) | |
download | hqemu-89d2d3af518879ddfca367e56627229a09e90352.zip hqemu-89d2d3af518879ddfca367e56627229a09e90352.tar.gz |
slirp: Remove some type casts caused by bad declaration of x.tp_buf
x.tp_buf was declared as a uint8_t array, but always used as
a char array (which needed a lot of type casts).
The patch includes these changes:
* Fix declaration of x.tp_buf and remove all type casts.
* Use offsetof() to get the offset of x.tp_buf.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'gdb-xml')
0 files changed, 0 insertions, 0 deletions