mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-10 06:31:41 +00:00
Re-define fileHandle_t as void * so that it is 64-bit safe. Fixes 4 compiler warnings and potentially some broken code.
This commit is contained in:
parent
2f403e160b
commit
21a7ab44c7
3 changed files with 2 additions and 7 deletions
|
@ -31,7 +31,7 @@ const char* ExtractFilename( const char* path );
|
||||||
bool FileExists( const char *filename );
|
bool FileExists( const char *filename );
|
||||||
int Q_stricmp( const char *s1, const char *s2 );
|
int Q_stricmp( const char *s1, const char *s2 );
|
||||||
|
|
||||||
typedef int fileHandle_t;
|
typedef void * fileHandle_t;
|
||||||
|
|
||||||
#define qfalse false
|
#define qfalse false
|
||||||
#define qtrue true
|
#define qtrue true
|
||||||
|
|
|
@ -212,10 +212,7 @@ typedef unsigned char byte;
|
||||||
|
|
||||||
#define EQUAL_EPSILON 0.001
|
#define EQUAL_EPSILON 0.001
|
||||||
|
|
||||||
typedef int qhandle_t;
|
typedef void * fileHandle_t;
|
||||||
typedef int sfxHandle_t;
|
|
||||||
typedef int fileHandle_t;
|
|
||||||
typedef int clipHandle_t;
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
INVALID_JOINT = -1
|
INVALID_JOINT = -1
|
||||||
|
|
|
@ -35,8 +35,6 @@
|
||||||
#include "util_str.h"
|
#include "util_str.h"
|
||||||
#include "math_vector.h"
|
#include "math_vector.h"
|
||||||
|
|
||||||
typedef int fileHandle_t;
|
|
||||||
|
|
||||||
extern void glBox( idVec3 &color, idVec3 &point, float size );
|
extern void glBox( idVec3 &color, idVec3 &point, float size );
|
||||||
extern void glLabeledPoint( idVec3 &color, idVec3 &point, float size, const char *label );
|
extern void glLabeledPoint( idVec3 &color, idVec3 &point, float size, const char *label );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue