summaryrefslogtreecommitdiff
path: root/src/i_pcsound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_pcsound.c')
-rw-r--r--src/i_pcsound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_pcsound.c b/src/i_pcsound.c
index d9b76eec..0dced9c1 100644
--- a/src/i_pcsound.c
+++ b/src/i_pcsound.c
@@ -84,7 +84,7 @@ void PCSCallbackFunc(int *duration, int *freq)
// for a full discussion of this.
// Check we don't overflow the frequency table.
- if (tone < NUM_FREQUENCIES)
+ if (tone < (int)NUM_FREQUENCIES)
{
*freq = (int) frequencies[tone];
}