mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix warning in previous commit. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4929 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
011fd40dda
commit
b8783d0448
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ void MV_SetXAPosition(VoiceNode *voice, int32_t position)
|
|||
{
|
||||
xa_data * xad = (xa_data *) voice->extra;
|
||||
|
||||
if (position < XA_DATA_START || position >= xad->length)
|
||||
if (position < XA_DATA_START || (size_t)position >= xad->length)
|
||||
position = XA_DATA_START;
|
||||
|
||||
xad->pos = position;
|
||||
|
|
Loading…
Reference in a new issue