summaryrefslogtreecommitdiff
path: root/lib/Socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Socket.cc')
-rw-r--r--lib/Socket.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Socket.cc b/lib/Socket.cc
index 21acf3f..56e89c3 100644
--- a/lib/Socket.cc
+++ b/lib/Socket.cc
@@ -217,7 +217,7 @@ int Socket::GetPort() {
}
Uint32 Socket::GetAddr() {
- uint32_t r;
+ Uint32 r;
struct sockaddr_in localsocketaddr;
socklen_t locallen = sizeof(localsocketaddr);
@@ -245,7 +245,7 @@ int Socket::GetDistantPort() {
}
Uint32 Socket::GetDistantAddr() {
- uint32_t r;
+ Uint32 r;
struct sockaddr_in distantsockaddr;
socklen_t distantlen = sizeof(distantsockaddr);