mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Q3data: Fix warning passing unsigned short * to parameter of type short *
This commit is contained in:
parent
16d42f3e64
commit
d1c1de1253
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ static int ReadString( FILE *fp, char *buffer ){
|
|||
return bytesRead;
|
||||
}
|
||||
|
||||
static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){
|
||||
static int ReadChunkAndLength( FILE *fp, unsigned short *chunk, long *len ){
|
||||
if ( fread( chunk, sizeof( short ), 1, fp ) != 1 ) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ polyset_t *Polyset_LoadSets( const char *file, int *numpolysets, int maxTrisPerS
|
|||
}
|
||||
else{
|
||||
Error( "TRI files no longer supported" );
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
// TRI_LoadPolysets( file, &psets, numpolysets );
|
||||
|
||||
|
|
Loading…
Reference in a new issue