Fixed 2 warnings. I added #include <float.h> to quakedef.h which I hope is fine, and the fix should be fina as well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2576 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1675ef566e
commit
4ddcb057ac
2 changed files with 2 additions and 1 deletions
|
@ -107,6 +107,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#define QUAKE_GAME // as opposed to utilities
|
#define QUAKE_GAME // as opposed to utilities
|
||||||
//define PARANOID // speed sapping error checking
|
//define PARANOID // speed sapping error checking
|
||||||
|
|
||||||
|
#include <float.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -3312,7 +3312,7 @@ void Cmd_FPSList_f(void)
|
||||||
client_t *cl;
|
client_t *cl;
|
||||||
int c;
|
int c;
|
||||||
int f;
|
int f;
|
||||||
double minf, maxf, this;
|
double minf = DBL_MIN, maxf = DBL_MAX, this;
|
||||||
double ftime;
|
double ftime;
|
||||||
int frames;
|
int frames;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue