diff options
Diffstat (limited to 'test/014_math_sumzerotodigits/sumzerotodigits.c')
| -rw-r--r-- | test/014_math_sumzerotodigits/sumzerotodigits.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/014_math_sumzerotodigits/sumzerotodigits.c b/test/014_math_sumzerotodigits/sumzerotodigits.c index 401d157..256ca5a 100644 --- a/test/014_math_sumzerotodigits/sumzerotodigits.c +++ b/test/014_math_sumzerotodigits/sumzerotodigits.c | |||
| @@ -8,9 +8,9 @@ void run(void) { | |||
| 8 | uint64_t d; | 8 | uint64_t d; |
| 9 | 9 | ||
| 10 | fgets(str, STRLENMAX, stdin); | 10 | fgets(str, STRLENMAX, stdin); |
| 11 | n = atoi(str); | 11 | n = (uint8_t)atoi(str); |
| 12 | fgets(str, STRLENMAX, stdin); | 12 | fgets(str, STRLENMAX, stdin); |
| 13 | b = atoi(str); | 13 | b = (uint8_t)atoi(str); |
| 14 | fgets(str, STRLENMAX, stdin); | 14 | fgets(str, STRLENMAX, stdin); |
| 15 | d = atoll(str); | 15 | d = atoll(str); |
| 16 | 16 | ||
