From 2db2b6e6af3702157f0d9f6d980af23f0cbc8177 Mon Sep 17 00:00:00 2001
From: mazmazz <mar.marcoz@outlook.com>
Date: Tue, 13 Nov 2018 17:24:19 -0500
Subject: [PATCH] Win32 boolean fixes

---
 src/win32/win_snd.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/win32/win_snd.c b/src/win32/win_snd.c
index 1e1b062f8a..f2af7f9284 100644
--- a/src/win32/win_snd.c
+++ b/src/win32/win_snd.c
@@ -492,15 +492,15 @@ musictype_t I_SongType(void)
 
 boolean I_SongPlaying(void)
 {
-	return (boolean)music_stream;
+	return (music_stream != NULL);
 }
 
 boolean I_SongPaused(void)
 {
-	boolean fmpaused = false;
+	FMOD_BOOL fmpaused = false;
 	if (music_stream)
 		FMOD_Channel_GetPaused(music_channel, &fmpaused);
-	return fmpaused;
+	return (boolean)fmpaused;
 }
 
 /// ------------------------
-- 
GitLab