aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-19 15:17:55 -0700
committerChris Robinson <[email protected]>2017-04-19 15:17:55 -0700
commitfbb5295f13711f978a1ad5a8abfc6c6d3970df0c (patch)
treeac0ebf5ffb544b5d4a752445bae847970e12fd48 /Alc
parent0407285c534392a9b1d96d4f57de26ff2be9671c (diff)
Fix a mixed-sign-comparison warning on MSVC
Diffstat (limited to 'Alc')
-rw-r--r--Alc/hrtf.c2
1 files changed, 1 insertions, 1 deletions
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;