From fbb5295f13711f978a1ad5a8abfc6c6d3970df0c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 19 Apr 2017 15:17:55 -0700 Subject: Fix a mixed-sign-comparison warning on MSVC --- Alc/hrtf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/hrtf.c') diff --git a/Alc/hrtf.c b/Alc/hrtf.c index 3047915b..d791113d 100644 --- a/Alc/hrtf.c +++ b/Alc/hrtf.c @@ -356,7 +356,7 @@ static struct Hrtf *LoadHrtf00(const ALubyte *data, size_t datalen, const char * if(failed) return NULL; - if(datalen < evCount*2) + if(datalen < evCount*2u) { ERR("Unexpected end of %s data (req %d, rem "SZFMT")\n", filename, evCount*2, datalen); return NULL; -- cgit v1.2.3