Commit b0be6473 by jim

Fix warnings


git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@8320 ddd99763-3ecb-0310-9145-efcb8ce7c51f
parent 9353f2b3
Showing with 2 additions and 2 deletions
...@@ -243,7 +243,7 @@ int nerdjack_detect(char *ipAddress) ...@@ -243,7 +243,7 @@ int nerdjack_detect(char *ipAddress)
int buffer_length; int buffer_length;
char buffer[200]; char buffer[200];
char incomingData[10]; char incomingData[10];
unsigned int lFromLen; socklen_t lFromLen;
sprintf(buffer, "TEST"); sprintf(buffer, "TEST");
buffer_length = strlen(buffer) + 1; buffer_length = strlen(buffer) + 1;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#ifdef __WIN32__ #ifdef __WIN32__
# include <winsock2.h> # include <winsock2.h>
# include <ws2tcpip.h> # include <ws2tcpip.h>
# define socklen_t unsigned int # define socklen_t int
# define in_addr_t uint32_t # define in_addr_t uint32_t
# define in_port_t uint16_t # define in_port_t uint16_t
# include <windows.h> # include <windows.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment