mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-28 08:22:18 +00:00
silence warning better
This commit is contained in:
parent
9c378418b0
commit
fbeb2c5f0e
@ -3623,7 +3623,7 @@ EX void save_customchar(charstyle& cs, const string& fname) {
|
|||||||
EX void load_customchar(charstyle& cs, const string& fname) {
|
EX void load_customchar(charstyle& cs, const string& fname) {
|
||||||
FILE *f = fopen(fname.c_str(), "rt");
|
FILE *f = fopen(fname.c_str(), "rt");
|
||||||
if(!f) throw hstream_exception();
|
if(!f) throw hstream_exception();
|
||||||
int vernum;
|
unsigned int vernum;
|
||||||
if(!fscanf(f, "%x", &vernum)) throw hstream_exception();
|
if(!fscanf(f, "%x", &vernum)) throw hstream_exception();
|
||||||
int lh;
|
int lh;
|
||||||
if(!fscanf(f, "%d %d\n%08x %08x %08x %08x %08x %08x %08x %08x %08x\n",
|
if(!fscanf(f, "%d %d\n%08x %08x %08x %08x %08x %08x %08x %08x %08x\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user