Correct error in endianess swap for titan