mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-08 21:14:20 +00:00
quic: Fix QUIC_VERSION definition
QUIC_VERSION_MINOR is never used.. Set QUIC_VERSION_MINOR to the same version as QUIC_VERSION_MAJOR to avoid breaking backwards compatibility, and fix the QUIC_VERSION macro. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
e123f94939
commit
1fbac71c84
@ -31,8 +31,8 @@
|
||||
/* ASCII "QUIC" */
|
||||
#define QUIC_MAGIC 0x43495551
|
||||
#define QUIC_VERSION_MAJOR 0U
|
||||
#define QUIC_VERSION_MINOR 1U
|
||||
#define QUIC_VERSION ((QUIC_VERSION_MAJOR << 16) | (QUIC_VERSION_MAJOR & 0xffff))
|
||||
#define QUIC_VERSION_MINOR 0U
|
||||
#define QUIC_VERSION ((QUIC_VERSION_MAJOR << 16) | (QUIC_VERSION_MINOR & 0xffff))
|
||||
|
||||
typedef uint8_t BYTE;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user