[Utl.c] Add type casts to return values.