Change unsigned* to error_type*