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;