ClearQuest format failed on 32-bit due to sign extension. Closes #806.