diff options
Diffstat (limited to 'examples/gfcc/compiler/factorial.c')
| -rw-r--r-- | examples/gfcc/compiler/factorial.c | 2 |
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 ; } ; |
