Don Porges fixed c99 issues.

git-svn-id: svn://svn.berlios.de/openocd/trunk@553 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-04-09 05:55:23 +00:00
parent a064722743
commit 2585fc3420
14 changed files with 67 additions and 45 deletions

View File

@@ -187,7 +187,7 @@ static __inline int close_socket(int sock)
static __inline void socket_nonblock(int fd)
{
#ifdef _WIN32
long nonblock = 1;
unsigned long nonblock = 1;
ioctlsocket(fd, FIONBIO, &nonblock );
#else
int oldopts = fcntl(fd, F_GETFL, 0);