Browse code

- su_getport type changed from short to unsigned short

Andrei Pelinescu-Onciul authored on 09/03/2004 11:26:06
Showing 1 changed files
... ...
@@ -246,7 +246,7 @@ static inline int su_cmp(union sockaddr_union* s1, union sockaddr_union* s2)
246 246
 
247 247
 
248 248
 /* gets the port number (host byte order) */
249
-static inline short su_getport(union sockaddr_union* su)
249
+static inline unsigned short su_getport(union sockaddr_union* su)
250 250
 {
251 251
 	switch(su->s.sa_family){
252 252
 		case AF_INET: