[v2 PATCH 06/17] mf: Use correct integral types.