From 2ff5c77fff7fc3e066104acdbeabbe3b75f80c07 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Mon, 12 Jun 2017 10:17:05 +0100 Subject: [PATCH] quic: constantify some variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frediano Ziglio Reviewed-by: Marc-André Lureau --- common/quic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/quic.c b/common/quic.c index 98ac319..980ddbd 100644 --- a/common/quic.c +++ b/common/quic.c @@ -173,13 +173,13 @@ struct Encoder { }; /* target wait mask index */ -static int wmimax = DEFwmimax; +static const int wmimax = DEFwmimax; /* number of symbols to encode before increasing wait mask index */ -static int wminext = DEFwminext; +static const int wminext = DEFwminext; /* model evolution mode */ -static int evol = DEFevol; +static const int evol = DEFevol; /* bppmask[i] contains i ones as lsb-s */ static const unsigned long int bppmask[33] = {