missed explicit cast

Signed-off-by: Mattias Andrée <maandree@operamail.com>
macros for ato* with cast

Signed-off-by: Mattias Andrée <maandree@operamail.com>
fix tabulation

Signed-off-by: Mattias Andrée <maandree@operamail.com>