Should be:
thirst += int(eaten->calc_quench(&g->u) / 2);