fix unsigned, add FIXME for 64 bit