arch dependent long size fix