fix 'lvalue required as left operand of assignment' errors

master
Ozkan Sezer 3 years ago
parent f606e628d3
commit 96b3ff1e4e
  1. 4
      src/sound_aix.c
  2. 2
      src/sound_hpux.c

@ -93,10 +93,10 @@ static void play(void *b, int i)
while (i) {
if ((j = write(audio_fd, b, i)) > 0) {
i -= j;
(char *)b += j;
b = (char *)b + j;
} else
break;
};
}
}
static void deinit(void)

@ -116,7 +116,7 @@ static void play(void *b, int i)
while (i) {
if ((j = write(audio_fd, b, i)) > 0) {
i -= j;
(char *)b += j;
b = (char *)b + j;
} else
break;
}

Loading…
Cancel
Save