summaryrefslogtreecommitdiff
path: root/third_party/libopenjpeg20/mqc_inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libopenjpeg20/mqc_inl.h')
-rw-r--r--third_party/libopenjpeg20/mqc_inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libopenjpeg20/mqc_inl.h b/third_party/libopenjpeg20/mqc_inl.h
index d95d9492ae..310a3287fd 100644
--- a/third_party/libopenjpeg20/mqc_inl.h
+++ b/third_party/libopenjpeg20/mqc_inl.h
@@ -157,7 +157,7 @@ static INLINE OPJ_UINT32 opj_mqc_raw_decode(opj_mqc_t *mqc)
}
#define DOWNLOAD_MQC_VARIABLES(mqc, curctx, c, a, ct) \
- register opj_mqc_state_t **curctx = mqc->curctx; \
+ register const opj_mqc_state_t **curctx = mqc->curctx; \
register OPJ_UINT32 c = mqc->c; \
register OPJ_UINT32 a = mqc->a; \
register OPJ_UINT32 ct = mqc->ct