]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
Just in case, make QW sequence numbers unsigned too.
[xonotic/darkplaces.git] / client.h
index c074d238ce200e9e3781ddf509fdf1a459c38e8a..d9facec2aec6c7a53678834bc642d0cd27b186f3 100644 (file)
--- a/client.h
+++ b/client.h
@@ -863,8 +863,8 @@ typedef struct client_static_s
        // value of "qport" cvar at time of connection
        int qw_qport;
        // copied from cls.netcon->qw. variables every time they change, or set by demos (which have no cls.netcon)
-       int qw_incoming_sequence;
-       int qw_outgoing_sequence;
+       unsigned int qw_incoming_sequence;
+       unsigned int qw_outgoing_sequence;
 
        // current file download buffer (only saved when file is completed)
        char qw_downloadname[MAX_QPATH];
@@ -1416,9 +1416,9 @@ typedef struct client_state_s
 
        float qw_weaponkick;
 
-       int qw_validsequence;
+       unsigned int qw_validsequence;
 
-       int qw_deltasequence[QW_UPDATE_BACKUP];
+       unsigned int qw_deltasequence[QW_UPDATE_BACKUP];
 
        // csqc stuff:
        // server entity number corresponding to a clientside entity