Stefan Weil
89d2d3af51
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>
2011-02-25 15:58:59 +00:00
..
2011-01-10 10:56:25 +01:00
2009-06-29 08:52:49 -05:00
2010-07-25 16:59:41 +02:00
2009-06-29 08:52:46 -05:00
2009-06-29 08:52:49 -05:00
2009-06-29 08:52:49 -05:00
2009-08-27 20:46:58 -05:00
2010-07-25 16:59:41 +02:00
2010-09-17 12:46:27 +02:00
2010-07-25 16:59:41 +02:00
2010-07-25 16:59:41 +02:00
2009-08-27 20:46:58 -05:00
2010-07-25 16:59:41 +02:00
2011-02-14 14:24:24 -06:00
2009-07-01 19:11:17 +00:00
2010-11-21 09:16:57 -06:00
2010-07-25 16:59:41 +02:00
2009-06-29 08:52:46 -05:00
2009-07-01 19:11:17 +00:00
2010-11-21 09:16:57 -06:00
2010-09-17 12:46:27 +02:00
2011-01-23 16:21:20 +00:00
2010-07-25 16:59:41 +02:00
2010-07-25 16:59:41 +02:00
2010-07-25 16:59:41 +02:00
2010-07-25 16:59:41 +02:00
2010-07-25 16:59:41 +02:00
2009-08-01 10:13:20 +00:00
2009-07-01 19:11:17 +00:00
2010-07-25 16:59:41 +02:00
2010-07-25 16:59:41 +02:00
2011-02-25 15:58:59 +00:00
2011-02-25 15:58:59 +00:00
2010-07-25 16:59:41 +02:00
2010-07-25 16:59:41 +02:00