Fix 2 of the Unsuffixed Float Constant warnings

The other one is related to M_PI for me, which I'm still not sure about where it's getting it from
This commit is contained in:
Sryder 2018-11-29 22:12:14 +00:00
parent c5e8e0badb
commit bc1f08f89d
2 changed files with 4 additions and 4 deletions

View file

@ -492,8 +492,8 @@ static void GIF_framewrite(void)
// screen regions are handled in GIF_lzw
{
int d1 = (int)((100.0/NEWTICRATE)*(gif_frames+1));
int d2 = (int)((100.0/NEWTICRATE)*(gif_frames));
int d1 = (int)((100.0f/NEWTICRATE)*(gif_frames+1));
int d2 = (int)((100.0f/NEWTICRATE)*(gif_frames));
UINT16 delay = d1-d2;
INT32 startline;

View file

@ -50,8 +50,8 @@
#ifdef HAVE_LIBGME
#include "gme/gme.h"
#define GME_TREBLE 5.0
#define GME_BASS 1.0
#define GME_TREBLE 5.0f
#define GME_BASS 1.0f
#ifdef HAVE_ZLIB
#ifndef _MSC_VER