From: DeaDDooMER Date: Tue, 24 Mar 2020 14:26:33 +0000 (+0300) Subject: openal: fix assignment in condition X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=89e2500f8b78159e95a06316143f5549e32e0994;p=flatwaifu.git openal: fix assignment in condition --- diff --git a/src/openal/sound.c b/src/openal/sound.c index 9dfca19..fc1e60a 100644 --- a/src/openal/sound.c +++ b/src/openal/sound.c @@ -183,7 +183,7 @@ void S_free (snd_t *s) { ALint h; openal_snd *snd = (openal_snd*)s; if (snd != NULL) { - assert(snd->base.tag = TAG_OAL1); + assert(snd->base.tag == TAG_OAL1); if (context != NULL) { for (i = 0; i < MAX_CHANNELS; i++) { alGetSourcei(sources[i], AL_BUFFER, &h);