diff options
-rw-r--r-- | common/quic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/quic.c b/common/quic.c index c4bec2f..1489261 100644 --- a/common/quic.c +++ b/common/quic.c @@ -60,17 +60,17 @@ typedef uint8_t BYTE; #define SPICE_MAX_IMAGE_SIZE (512 * 1024 * 1024 - 1) typedef struct QuicFamily { - BYTE nGRcodewords[MAXNUMCODES]; /* indexed by code number, contains number of + unsigned int nGRcodewords[MAXNUMCODES]; /* indexed by code number, contains number of unmodified GR codewords in the code */ - BYTE notGRcwlen[MAXNUMCODES]; /* indexed by code number, contains codeword + unsigned int notGRcwlen[MAXNUMCODES]; /* indexed by code number, contains codeword length of the not-GR codeword */ unsigned int notGRprefixmask[MAXNUMCODES]; /* indexed by code number, contains mask to determine if the codeword is GR or not-GR */ unsigned int notGRsuffixlen[MAXNUMCODES]; /* indexed by code number, contains suffix length of the not-GR codeword */ - BYTE golomb_code_len[256][MAXNUMCODES]; - BYTE golomb_code[256][MAXNUMCODES]; + unsigned int golomb_code_len[256][MAXNUMCODES]; + unsigned int golomb_code[256][MAXNUMCODES]; /* array for translating distribution U to L for depths up to 8 bpp, initialized by decorrelate_init() */ @@ -78,7 +78,7 @@ typedef struct QuicFamily { /* array for translating distribution L to U for depths up to 8 bpp, initialized by correlate_init() */ - BYTE xlatL2U[256]; + unsigned int xlatL2U[256]; } QuicFamily; #include "quic_family.h" |