use u32int for portable h/w sizes rather than ulong.