From 693cbcb2f387aa6b0c782e46cb14c0769be26c43 Mon Sep 17 00:00:00 2001 From: aarne Date: Sun, 26 Sep 2004 15:44:08 +0000 Subject: almost the final version --- examples/gfcc/compiler/factorial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/gfcc/compiler/factorial.c') diff --git a/examples/gfcc/compiler/factorial.c b/examples/gfcc/compiler/factorial.c index 7c8fca524..2a1c3f5f3 100644 --- a/examples/gfcc/compiler/factorial.c +++ b/examples/gfcc/compiler/factorial.c @@ -14,7 +14,7 @@ int main () { int n ; n = 1 ; { - while (n < 11) printf(int,fact(n)) ; n = n+1 ; + while (n < 11) printf("%d",fact(n)) ; n = n+1 ; } return ; } ; -- cgit v1.2.3