From 0d7f38c7513f3d8811b84e1b11b9686429f010f1 Mon Sep 17 00:00:00 2001 From: James Haley Date: Sat, 16 Aug 2014 17:30:00 -0500 Subject: 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) -- cgit v1.2.3