diff options
author | David <david@xagasoft.com> | 2008-10-24 19:12:49 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2008-10-24 19:12:49 +0000 |
commit | 566dd25530779388859f8a21191e60c62a21cd5f (patch) | |
tree | c46f7f93d7d1eefbec8df6c35d3ee95ac5156459 /src/socket.h | |
parent | e7e521b0ddfdbae6407b77020824da614610a04c (diff) | |
download | libbu++-566dd25530779388859f8a21191e60c62a21cd5f.tar.gz libbu++-566dd25530779388859f8a21191e60c62a21cd5f.tar.bz2 libbu++-566dd25530779388859f8a21191e60c62a21cd5f.tar.xz libbu++-566dd25530779388859f8a21191e60c62a21cd5f.zip |
david - ok, fixed the compiler warnings in socket class. got serversocket compliling without warnings. added win32_compatibility.h along the same lines as osx_copatibility.h
Diffstat (limited to '')
-rw-r--r-- | src/socket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h index 337b797..572c2ad 100644 --- a/src/socket.h +++ b/src/socket.h | |||
@@ -73,7 +73,11 @@ namespace Bu | |||
73 | private: | 73 | private: |
74 | void setAddress(); | 74 | void setAddress(); |
75 | 75 | ||
76 | #ifdef WIN32 | ||
77 | unsigned int nSocket; | ||
78 | #else | ||
76 | int nSocket; | 79 | int nSocket; |
80 | #endif | ||
77 | bool bActive; | 81 | bool bActive; |
78 | FString sReadBuf; | 82 | FString sReadBuf; |
79 | FString sAddress; | 83 | FString sAddress; |