fixed enum point mistake

Your SDK assigns a normal enum to a pointer, which is incorrect.  You should really set warnings to be errors to prevent silly typos like this.  Also nil is not a valid default for that enum because again its not a pointer.