ex01: Fix warnings in sum.c, use slightly safer way of abusing type
system.