Fix some warnings related to format strings.
This commit is contained in:
parent
3ac49bdaa0
commit
ca9e48d5f6
8 changed files with 8 additions and 8 deletions
|
|
@ -632,7 +632,7 @@ scorein(struct sc_ent scores[], FILE *inf)
|
|||
encread((char *) &scores[i].sc_system, SYSLEN, inf);
|
||||
encread((char *) &scores[i].sc_login, LINELEN, inf);
|
||||
encread((char *) scoreline, 100, inf);
|
||||
sscanf(scoreline, " %lu %d %d %d %d %d \n",
|
||||
sscanf(scoreline, " %lu %hd %hd %hd %hd %hd \n",
|
||||
&scores[i].sc_score, &scores[i].sc_flgs,
|
||||
&scores[i].sc_level, &scores[i].sc_ctype,
|
||||
&scores[i].sc_monster, &scores[i].sc_quest);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue