aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMax Horn2006-06-25 10:32:01 +0000
committerMax Horn2006-06-25 10:32:01 +0000
commit61c69ab4b2045acd8f471d09d9739b2061bb6d16 (patch)
treec6d49bf80e8bb2f27487c64668314fc91cdb922d /tools
parent8d3887f170a0d085e50eecb6750724ce3b055d7d (diff)
downloadscummvm-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.c4
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, " |");