GIT
/
REPO
/
FRED-BOY
Projects
/
flatwaifu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b2e65
)
sdlmixer: fix warnings
author
DeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 1 Apr 2020 15:39:29 +0000
(18:39 +0300)
committer
DeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 1 Apr 2020 15:39:29 +0000
(18:39 +0300)
src/sdlmixer/sound.c
patch
|
blob
|
history
diff --git
a/src/sdlmixer/sound.c
b/src/sdlmixer/sound.c
index 8867e57057cfd62460e526c27a2132949e610549..92334c7fc0ad58c9aff515e07e7863a8a34e2d7b 100644
(file)
--- a/
src/sdlmixer/sound.c
+++ b/
src/sdlmixer/sound.c
@@
-141,7
+141,7
@@
static sdlmixer_snd *new_sdlmixer_snd (const void *data, dword len, dword rate,
snd_t *S_get (int id) {
void *handle;
sdlmixer_snd *snd = NULL;
- if (devinit
!= NULL
) {
+ if (devinit) {
handle = M_lock(id);
if (handle != NULL) {
void *data = handle;
DEADSOFTWARE 2012-2025