From 0cc838bca720a6ebb5a6755deef6a2fc2e61d8bd Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Tue, 9 May 2017 14:17:34 +0100 Subject: [PATCH] make: *** [../objs/Mingw/Debug/m_menu.o] Error 1 s_sound.c: In function `S_StartCaption': s_sound.c:416: warning: comparison of unsigned expression >= 0 is always true Makefile:770: recipe for target '../objs/Mingw/Debug/s_sound.o' failed make: *** [../objs/Mingw/Debug/s_sound.o] Error 1 --- src/s_sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s_sound.c b/src/s_sound.c index b8cb06075..20b71fce8 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -413,7 +413,7 @@ void S_StartCaption(sfxenum_t sfx_id, INT32 cnum, UINT16 lifespan) return; // check for bogus sound # - I_Assert(sfx_id >= 0); // allows sfx_None; this shouldn't be allowed directly if S_StartCaption is ever exposed to Lua by itself + // I_Assert(sfx_id >= 0); -- allowing sfx_None; this shouldn't be allowed directly if S_StartCaption is ever exposed to Lua by itself I_Assert(sfx_id < NUMSFX); sfx = &S_sfx[sfx_id];