CARD32 -> long: illegal type to XChangeProperty