Fixed an MSVC warning

This commit is contained in:
Linus Probert 2018-02-03 16:41:55 +01:00
parent 84addef7c9
commit 753448efdb
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ eat_flesh(Item *item, Player *player)
static void
drink_health(Item *item, Player *player)
{
player->potion_sips += item->value;
player->potion_sips += (int) item->value;
gui_log("You collect %u sips of health", (unsigned int) item->value);
}