From: havoc Date: Sun, 18 Nov 2007 19:11:43 +0000 (+0000) Subject: fix an unsigned/signed comparison warning on lhnetsocket_t.inetsocket X-Git-Tag: xonotic-v0.1.0preview~2777 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ae2e7cc68682f9647bdc2b19e8243006709a88b6;p=xonotic%2Fdarkplaces.git fix an unsigned/signed comparison warning on lhnetsocket_t.inetsocket git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7707 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/lhnet.h b/lhnet.h index c865f9a9..d17015fa 100644 --- 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;