Browse Source

fix warning for unsigned/signed pointer target

- use unsigned int instead of int (socklen_t is supposed to be unsigned)
- converted inconsistent line Ending to UNIX line ending
tags/v1.9.11-RC1
Markus Seeber 11 years ago
parent
commit
275357080c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common/netjack_packet.c

+ 2
- 2
common/netjack_packet.c View File

@@ -80,7 +80,7 @@
#include "netjack_packet.h"
#include "JackError.h"

#ifdef NO_JACK_ERROR
#ifdef NO_JACK_ERROR
#define jack_error printf
#endif

@@ -516,7 +516,7 @@ packet_cache_drain_socket( packet_cache *pcache, int sockfd )
u_long parm = 1;
ioctlsocket( sockfd, FIONBIO, &parm );
#else
int senderlen = sizeof( struct sockaddr_in );
unsigned int senderlen = sizeof( struct sockaddr_in );
#endif
while (1) {
#ifdef WIN32


Loading…
Cancel
Save