Add struct size into tooltip

Style issue: avoid C casts:  prefer    `size_t(-1)`