Fix -Wsign-compare warnings in anim.cpp

git-svn-id: https://svn.eduke32.com/eduke32@8584 1a8010ca-5511-0410-912e-c29ae57300e0

# Conflicts:
#	source/duke3d/src/anim.cpp
This commit is contained in:
hendricks266 2020-02-02 06:40:34 +00:00 committed by Christoph Oelckers
parent 5b83e51ab5
commit 3e023684f4

View file

@ -418,13 +418,13 @@ int32_t Anim_Play(const char *fn)
Bmemcpy(&firstfour, anim->animbuf, 4);
// "DKIF" (.ivf)
if (firstfour == B_LITTLE32(0x46494B44))
if (firstfour == B_LITTLE32(0x46494B44u))
goto end_anim;
int32_t numframes;
// "LPF " (.anm)
if (firstfour != B_LITTLE32(0x2046504C) ||
if (firstfour != B_LITTLE32(0x2046504Cu) ||
ANIM_LoadAnim(anim->animbuf, buffer.Size()-1) < 0 ||
(numframes = ANIM_NumFrames()) <= 0)
{