]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix an unsigned/signed comparison warning on lhnetsocket_t.inetsocket
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 18 Nov 2007 19:11:43 +0000 (19:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 18 Nov 2007 19:11:43 +0000 (19:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7707 d7cf8633-e32d-0410-b094-e92efae38249

lhnet.h

diff --git a/lhnet.h b/lhnet.h
index c865f9a9835f51b0a2766fc67af9ed22914116f4..d17015fa65b9aa32e9fb18e1eb424ea4bd03c979 100644 (file)
--- a/lhnet.h
+++ b/lhnet.h
@@ -67,7 +67,7 @@ int LHNETADDRESS_Compare(const lhnetaddress_t *address1, const lhnetaddress_t *a
 typedef struct lhnetsocket_s
 {
        lhnetaddress_t address;
-       int inetsocket;
+       unsigned int inetsocket;
        struct lhnetsocket_s *next, *prev;
 }
 lhnetsocket_t;