Fix a type error.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>