tools/quake3/q3data/md3lib.c:152:25: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'FILE ' (aka 'struct __sFILE ') [-Wint-conversion]
fileSize = filelength( fileno( fp ) );
^~~~
tools/quake3/q3data/../common/cmdlib.h:79:25: note: passing argument to parameter 'f' here
int Q_filelength( FILE f );
^
tools/quake3/q3data/md3lib.c:153:32: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'FILE ' (aka 'struct __sFILE ') [-Wint-conversion]
_buffer = malloc( filelength( fileno( fp ) ) );
^~~~
tools/quake3/q3data/../common/cmdlib.h:79:25: note: passing argument to parameter 'f' here
int Q_filelength( FILE f );
^
See https://github.com/TTimo/GtkRadiant/issues/467