diff options
author | James Haley | 2014-08-16 17:30:00 -0500 |
---|---|---|
committer | James Haley | 2014-08-16 17:30:00 -0500 |
commit | 0d7f38c7513f3d8811b84e1b11b9686429f010f1 (patch) | |
tree | 351c221298ed65afefeb930737e95a2c19076816 | |
parent | 6b422a3ed52742adeb57da3fa934090130696d2a (diff) | |
download | chocolate-doom-0d7f38c7513f3d8811b84e1b11b9686429f010f1.tar.gz chocolate-doom-0d7f38c7513f3d8811b84e1b11b9686429f010f1.tar.bz2 chocolate-doom-0d7f38c7513f3d8811b84e1b11b9686429f010f1.zip |
Warning fixes (23 remain...)
-rw-r--r-- | src/i_sdlsound.c | 2 | ||||
-rw-r--r-- | 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) |