From 6f70db9469c5c8f71d354ac82e2f855a81608e67 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 25 Oct 2004 07:35:51 +0000 Subject: [PATCH] fix a signed/unsigned comparison warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4706 d7cf8633-e32d-0410-b094-e92efae38249 --- snd_oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snd_oss.c b/snd_oss.c index 10c2a085..eef8e62c 100644 --- a/snd_oss.c +++ b/snd_oss.c @@ -121,7 +121,7 @@ qboolean SNDDMA_Init(void) shm->format.speed = atoi(com_argv[i+1]); else { - for (i = 0;i < (int) sizeof(tryrates) / sizeof(tryrates[0]);i++) + for (i = 0;i < (int) sizeof(tryrates) / (int) sizeof(tryrates[0]);i++) if (!ioctl(audio_fd, SNDCTL_DSP_SPEED, &tryrates[i])) break; -- 2.39.2