From 9a09d73df7c4e0e0e6ef0f786d117e218e014b60 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 13 Jan 2009 22:15:00 +0000 Subject: [PATCH] gcc 2.95 fix --- installer/makegui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/makegui.c b/installer/makegui.c index 667ee78..ae72a2f 100644 --- a/installer/makegui.c +++ b/installer/makegui.c @@ -24,6 +24,7 @@ int main(int argn, char*argv[]) { char flag = 2; + FILE*fi = fopen(argv[1], "rb+"); if(argn<2) { printf("Usage:\n"); printf("\t%s program.exe [console]\n", argv[0]); @@ -35,7 +36,6 @@ int main(int argn, char*argv[]) } } - FILE*fi = fopen(argv[1], "rb+"); if(!fi) { perror(argv[1]); exit(1); -- 1.7.10.4