common: fix some warnings
This commit is contained in:
parent
856783ba95
commit
fcfd14fefd
@ -205,7 +205,6 @@ void APP_CC
|
|||||||
list_dump_items(struct list* self)
|
list_dump_items(struct list* self)
|
||||||
{
|
{
|
||||||
int index;
|
int index;
|
||||||
tbus item;
|
|
||||||
|
|
||||||
if (self->count == 0)
|
if (self->count == 0)
|
||||||
{
|
{
|
||||||
|
@ -570,7 +570,11 @@ g_write_ip_address(int rcv_sck, char* ip_address, int bytes)
|
|||||||
{
|
{
|
||||||
struct sockaddr_in s;
|
struct sockaddr_in s;
|
||||||
struct in_addr in;
|
struct in_addr in;
|
||||||
|
#if defined(_WIN32)
|
||||||
int len;
|
int len;
|
||||||
|
#else
|
||||||
|
unsigned int len;
|
||||||
|
#endif
|
||||||
int ip_port;
|
int ip_port;
|
||||||
int ok;
|
int ok;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user