ao_alsa.c:115: warning: suggest parentheses around assignment used as truth value


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17098 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rathann 2005-12-05 01:31:03 +00:00
parent cb116e1b6e
commit 637ef4ab74
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ static int control(int cmd, void *arg)
char *test_mix_index; char *test_mix_index;
mix_name = strdup(mixer_channel); mix_name = strdup(mixer_channel);
if (test_mix_index = strchr(mix_name, ',')){ if ((test_mix_index = strchr(mix_name, ','))){
*test_mix_index = 0; *test_mix_index = 0;
test_mix_index++; test_mix_index++;
mix_index = strtol(test_mix_index, &test_mix_index, 0); mix_index = strtol(test_mix_index, &test_mix_index, 0);