controller: Revert back to `size_t` instead of `int`.

This was an inadvertent regression.

Signed-off-by: Matthew Emmett <memmett@gmail.com>
style: Untabify.

Signed-off-by: Matthew Emmett <memmett@gmail.com>