]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
Fix several warnings with gcc-5 and an error with mingw (where
[xonotic/darkplaces.git] / server.h
index 59d0eca3bf9ba3ebbe5590f003ee336e8722a8e4..8c54f97f6f9da2ca9f9f2247f28a89a6f7e44627 100644 (file)
--- a/server.h
+++ b/server.h
@@ -214,9 +214,9 @@ typedef struct client_s
        /// communications handle
        netconn_t *netconnection;
 
-       int movesequence;
+       unsigned int movesequence;
        signed char movement_count[NETGRAPH_PACKETS];
-       int movement_highestsequence_seen; // not the same as movesequence if prediction is off
+       unsigned int movement_highestsequence_seen; // not the same as movesequence if prediction is off
        /// movement
        usercmd_t cmd;
        /// intended motion calced from cmd
@@ -312,7 +312,7 @@ typedef struct client_s
 
        // last sent move sequence
        // if the move sequence changed, an empty entity frame is sent
-       int lastmovesequence;
+       unsigned int lastmovesequence;
 } client_t;