medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c77ee055f3c3edeccb3bb5970c70156872b9af51
parent a33a51e802ebd0b9520d532bd2d90be295254a2d
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Jan 25 23:24:45 +0200

MSVC warning

Diffstat:
mixer.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mixer.cc b/mixer.cc @@ -128,7 +128,7 @@ AUDIO_OUTPUT_CALLBACK( mixer_mix ) { } for( s32 i = 0; i < num_output_samples; i++ ) { - output_samples[ i ] = quantize11s( clamp11( samples[ i ] ), 16 ); + output_samples[ i ] = checked_cast< s16 >( quantize11s( clamp11( samples[ i ] ), 16 ) ); } }