diff options
Diffstat (limited to 'test/010_math_permtoindex/permtoindex_tests.c')
| -rw-r--r-- | test/010_math_permtoindex/permtoindex_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/010_math_permtoindex/permtoindex_tests.c b/test/010_math_permtoindex/permtoindex_tests.c index 383150d..2a7ecf3 100644 --- a/test/010_math_permtoindex/permtoindex_tests.c +++ b/test/010_math_permtoindex/permtoindex_tests.c | |||
| @@ -11,7 +11,7 @@ void run(void) { | |||
| 11 | n = atoll(str); | 11 | n = atoll(str); |
| 12 | for (i = 0; i < n; i++) { | 12 | for (i = 0; i < n; i++) { |
| 13 | fgets(str, STRLENMAX, stdin); | 13 | fgets(str, STRLENMAX, stdin); |
| 14 | a[i] = atoi(str); | 14 | a[i] = (uint8_t)atoi(str); |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | p = permtoindex(n, a); | 17 | p = permtoindex(n, a); |
