diff options
author | Max Horn | 2006-06-25 10:32:01 +0000 |
---|---|---|
committer | Max Horn | 2006-06-25 10:32:01 +0000 |
commit | 61c69ab4b2045acd8f471d09d9739b2061bb6d16 (patch) | |
tree | c6d49bf80e8bb2f27487c64668314fc91cdb922d /tools | |
parent | 8d3887f170a0d085e50eecb6750724ce3b055d7d (diff) | |
download | scummvm-rg350-61c69ab4b2045acd8f471d09d9739b2061bb6d16.tar.gz scummvm-rg350-61c69ab4b2045acd8f471d09d9739b2061bb6d16.tar.bz2 scummvm-rg350-61c69ab4b2045acd8f471d09d9739b2061bb6d16.zip |
Patch #1511978: Patch for convbdf.c so it compiles with GCC 2.95.3
svn-id: r23308
Diffstat (limited to 'tools')
-rw-r--r-- | tools/convbdf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c index 9b6df57dfa..1950f053d1 100644 --- a/tools/convbdf.c +++ b/tools/convbdf.c @@ -725,7 +725,7 @@ bitmap_t bdf_hexval(unsigned char *buf) { int gen_c_source(struct font* pf, char *path) { FILE *ofp; - int i; + int h, i; int did_defaultchar = 0; int did_syncmsg = 0; time_t t = time(0); @@ -815,7 +815,7 @@ int gen_c_source(struct font* pf, char *path) fprintf(ofp, "+\n"); x = 0; - int h = height; + h = height; while (h > 0) { if (x == 0) fprintf(ofp, " |"); |