mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 08:30:58 +00:00
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:
parent
5b83e51ab5
commit
3e023684f4
1 changed files with 2 additions and 2 deletions
|
@ -418,13 +418,13 @@ int32_t Anim_Play(const char *fn)
|
||||||
Bmemcpy(&firstfour, anim->animbuf, 4);
|
Bmemcpy(&firstfour, anim->animbuf, 4);
|
||||||
|
|
||||||
// "DKIF" (.ivf)
|
// "DKIF" (.ivf)
|
||||||
if (firstfour == B_LITTLE32(0x46494B44))
|
if (firstfour == B_LITTLE32(0x46494B44u))
|
||||||
goto end_anim;
|
goto end_anim;
|
||||||
|
|
||||||
int32_t numframes;
|
int32_t numframes;
|
||||||
|
|
||||||
// "LPF " (.anm)
|
// "LPF " (.anm)
|
||||||
if (firstfour != B_LITTLE32(0x2046504C) ||
|
if (firstfour != B_LITTLE32(0x2046504Cu) ||
|
||||||
ANIM_LoadAnim(anim->animbuf, buffer.Size()-1) < 0 ||
|
ANIM_LoadAnim(anim->animbuf, buffer.Size()-1) < 0 ||
|
||||||
(numframes = ANIM_NumFrames()) <= 0)
|
(numframes = ANIM_NumFrames()) <= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue