From abc53d5006ce70106cadef9d550d1d9bfce11ba7 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 18 Apr 2015 21:37:07 +0000 Subject: [PATCH] Further constification. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5151 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/pragmas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/build/include/pragmas.h b/polymer/eduke32/build/include/pragmas.h index a759152b1..a5d908c1e 100644 --- a/polymer/eduke32/build/include/pragmas.h +++ b/polymer/eduke32/build/include/pragmas.h @@ -63,7 +63,7 @@ static inline int32_t tabledivide64(int64_t n, int32_t d) { static libdivide_s64_t sdiv; static int32_t lastd; - libdivide_s64_t *dptr = ((unsigned)d < DIVTABLESIZE) ? (libdivide_s64_t *)&divtable64[d] : &sdiv; + libdivide_s64_t const * const dptr = ((unsigned)d < DIVTABLESIZE) ? (libdivide_s64_t *)&divtable64[d] : &sdiv; if (d == lastd || dptr != &sdiv) goto skip; @@ -78,7 +78,7 @@ static inline int32_t tabledivide32(int32_t n, int32_t d) { static libdivide_s32_t sdiv; static int32_t lastd; - libdivide_s32_t *dptr = ((unsigned)d < DIVTABLESIZE) ? (libdivide_s32_t *)&divtable32[d] : &sdiv; + libdivide_s32_t const * const dptr = ((unsigned)d < DIVTABLESIZE) ? (libdivide_s32_t *)&divtable32[d] : &sdiv; if (d == lastd || dptr != &sdiv) goto skip;