mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-21 19:32:30 +00:00
Server_List_Load() - make c an int instead of a char so it can be compared
against EOF without warnings on certain platforms
This commit is contained in:
parent
079daee12a
commit
03391673eb
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ int Server_List_Set(int i,char *addr,char *desc) {
|
|||
|
||||
int Server_List_Load (QFile *f) { // This could get messy
|
||||
int serv = 0;
|
||||
char line[256]; // Long lines get truncated.
|
||||
char c = ' ';
|
||||
char line[256]; /* Long lines get truncated. */
|
||||
int c = ' '; /* int so it can be compared to EOF properly*/
|
||||
char *start;
|
||||
int len;
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue