From 4dd32af841194c00d1957c3a38e2336b3be1df35 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Fri, 23 Mar 2018 17:57:42 +0100 Subject: [PATCH] fix incompatible pointers --- lib/dice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dice.c b/lib/dice.c index c2317c9..3d4e0d7 100644 --- a/lib/dice.c +++ b/lib/dice.c @@ -180,7 +180,7 @@ bool dice_get(dice_t d, dice_option_t opt, ...) case DICEOPTION_FUDGE: { - bool *ptr = va_arg(lst, uint32_t*); + uint32_t *ptr = va_arg(lst, uint32_t*); *ptr = d->fudge; } break;