summaryrefslogtreecommitdiff
path: root/examples/gfcc/compiler/factorial.c
diff options
context:
space:
mode:
authoraarne <unknown>2004-09-26 15:44:08 +0000
committeraarne <unknown>2004-09-26 15:44:08 +0000
commit693cbcb2f387aa6b0c782e46cb14c0769be26c43 (patch)
tree2233151f495d9da9a44208d260d5a4fa0748e137 /examples/gfcc/compiler/factorial.c
parente1617bbb8e7d7dfa8ba4ba50cf1c321610f57ace (diff)
almost the final version
Diffstat (limited to 'examples/gfcc/compiler/factorial.c')
-rw-r--r--examples/gfcc/compiler/factorial.c2
1 files changed, 1 insertions, 1 deletions
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 ;
} ;