Fix illegal (as per C11 standard) code