From 85810123a241b8a5610860b3116c73df1d7bfbfd Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Fri, 23 Mar 2018 18:37:04 +0100 Subject: [PATCH] use proper type in unit tests --- tests/test_dice_fudge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_dice_fudge.c b/tests/test_dice_fudge.c index c8872d7..e9526f4 100644 --- a/tests/test_dice_fudge.c +++ b/tests/test_dice_fudge.c @@ -51,7 +51,7 @@ static void test_dice_fudge_set(void **data) static void test_dice_fudge_roll_one(void **data) { dice_t d = dice_new(); - int result = 0, i = 0; + int64_t result = 0, i = 0; dice_set(d, DICEOPTION_FUDGE, true); dice_set(d, DICEOPTION_AMOUNT, 1L); @@ -67,7 +67,7 @@ static void test_dice_fudge_roll_one(void **data) static void test_dice_fudge_roll_more(void **data) { dice_t d = dice_new(); - int result = 0, i = 0; + int64_t result = 0, i = 0; dice_set(d, DICEOPTION_FUDGE, true); dice_set(d, DICEOPTION_AMOUNT, 6L);