ILsizei was aliased to the wrong type. Nasty.