Skip to content

Commit

Permalink
Fix type in test: avoid integer truncation.
Browse files Browse the repository at this point in the history
This shouldn't impact the overall result of the test (it tends
to shrink to around 42-43, which is well under 256).
  • Loading branch information
silentbicycle committed Sep 3, 2017
1 parent 9931960 commit 90d2875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_theft_integration.c
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ TEST forking_hook(void) {
PASS();
}

static size_t Fibonacci(uint8_t x) {
static size_t Fibonacci(uint16_t x) {
if (x < 2) {
return 1;
} else {
Expand Down

0 comments on commit 90d2875

Please sign in to comment.