diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-04-06 14:48:54 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-04-06 14:48:54 +0100 |
| commit | a1ad0db8a6d829eddf1478cee44ae976bbcd325f (patch) | |
| tree | a6e62232e05e7779034c5f9d1bf743b6f1c198e3 /test/012_math_permsign/permsign_tests.c | |
| parent | 0d4fa9ebbfcadfff4baf8fc3cd32a63dcfd7dd43 (diff) | |
| download | nissy-core-a1ad0db8a6d829eddf1478cee44ae976bbcd325f.tar.gz nissy-core-a1ad0db8a6d829eddf1478cee44ae976bbcd325f.zip | |
Fix integer conversions in code, tests and some toolsc-portability
Diffstat (limited to 'test/012_math_permsign/permsign_tests.c')
| -rw-r--r-- | test/012_math_permsign/permsign_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/012_math_permsign/permsign_tests.c b/test/012_math_permsign/permsign_tests.c index 8c652b5..f5a52d0 100644 --- a/test/012_math_permsign/permsign_tests.c +++ b/test/012_math_permsign/permsign_tests.c | |||
| @@ -13,7 +13,7 @@ void run(void) { | |||
| 13 | 13 | ||
| 14 | for (i = 0; i < n; i++) { | 14 | for (i = 0; i < n; i++) { |
| 15 | fgets(str, STRLENMAX, stdin); | 15 | fgets(str, STRLENMAX, stdin); |
| 16 | a[i] = atoi(str); | 16 | a[i] = (uint8_t)atoi(str); |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | p = permsign(n, a); | 19 | p = permsign(n, a); |
