foxygit / doom Log in
commit 0d7f38c7513f3d8811b84e1b11b9686429f010f1
Author:     James Haley <haleyjd@hotmail.com>
AuthorDate: Sat Aug 16 17:30:00 2014 -0500
Commit:     James Haley <haleyjd@hotmail.com>
CommitDate: Sat Aug 16 17:30:00 2014 -0500

    Warning fixes (23 remain...)
---
 src/i_sdlsound.c            | 2 +-
 textscreen/txt_fileselect.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c
index 4c2ec5fa..7089378e 100644
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -86,7 +86,7 @@ int use_libsamplerate = 0;
 // of the time: with all the Doom IWAD sound effects, at least. If a PWAD
 // is used, clipping might occur.

-float libsamplerate_scale = 0.65;
+float libsamplerate_scale = 0.65f;

 // Hook a sound into the linked list at the head.

diff --git a/textscreen/txt_fileselect.c b/textscreen/txt_fileselect.c
index 9e535668..5d83c15c 100644
--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -666,7 +666,7 @@ static void TXT_FileSelectMousePress(TXT_UNCAST_ARG(fileselect),
         }
     }

-    return TXT_WidgetMousePress(fileselect->inputbox, x, y, b);
+    TXT_WidgetMousePress(fileselect->inputbox, x, y, b);
 }

 static void TXT_FileSelectFocused(TXT_UNCAST_ARG(fileselect), int focused)