diff --git a/code/test/getint.c b/code/test/getint.c index 5dba854..f1cc180 100644 --- a/code/test/getint.c +++ b/code/test/getint.c @@ -2,7 +2,8 @@ int main(){ do { - int number = GetInt(); + int number; + GetInt(&number); PutInt(number); PutChar('\n'); } while(1 == 1);