shithub: choc

Download patch

ref: 0d7f38c7513f3d8811b84e1b11b9686429f010f1
parent: 6b422a3ed52742adeb57da3fa934090130696d2a
author: James Haley <[email protected]>
date: Sat Aug 16 13:30:00 EDT 2014

Warning fixes (23 remain...)

--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -86,7 +86,7 @@
 // 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.
 
--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -666,7 +666,7 @@
         }
     }
 
-    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)