mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Further constification. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5151 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ce5260e235
commit
abc53d5006
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue