Fixed compilation errors on Windows.
This commit is contained in:
parent
0d4cba9744
commit
30a20ba50f
@ -293,7 +293,7 @@ void bx_socket_pktmover_c::rx_timer_handler(void *this_ptr)
|
||||
void bx_socket_pktmover_c::rx_timer(void)
|
||||
{
|
||||
int nbytes = 0;
|
||||
unsigned int slen = sizeof(sin);
|
||||
socklen_t slen = sizeof(sin);
|
||||
Bit8u rxbuf[BX_PACKET_BUFSIZE];
|
||||
|
||||
// is socket open and bound?
|
||||
|
@ -408,7 +408,7 @@ void CDECL intHandler(int sig)
|
||||
int CDECL main(int argc, char **argv)
|
||||
{
|
||||
int c, i, n;
|
||||
unsigned int slen;
|
||||
socklen_t slen;
|
||||
fd_set rfds;
|
||||
Bit8u buf[BX_PACKET_BUFSIZE];
|
||||
ethernet_header_t *ethhdr = (ethernet_header_t *)buf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user