summaryrefslogtreecommitdiff
blob: 5cb223c37ad1d1500066d6352f78ab2154c2017a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- kpf/src/WebServer.cpp~	2002-12-03 01:09:08.000000000 +0100
+++ kpf/src/WebServer.cpp	2002-12-03 01:09:42.000000000 +0100
@@ -234,7 +234,7 @@
 #ifdef __osf__
         (size_t) sizeof(on)
 #else
-        reinterpret_cast<socklen_t>(sizeof(on))
+        reinterpret_cast<socklen_t>((unsigned int)sizeof(on))
 #endif
       );
 
@@ -249,7 +249,7 @@
 #ifdef __osf__
         (size_t) sizeof(on)
 #else
-        reinterpret_cast<socklen_t>(sizeof(on))
+        reinterpret_cast<socklen_t>((unsigned int)sizeof(on))
 #endif
       );