fix incompatible pointers

This commit is contained in:
Florian Stinglmayr 2018-03-23 17:57:42 +01:00
parent 70d977f930
commit 4dd32af841

View File

@ -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;