Cast value when passing into sp_get

This silences the 'incompatible pointer types passing 'char **' to parameter of type 'void **'' warning.
Merge pull request #60 from sphia/fix-incompatible-pointer-warning

Cast value when passing into sp_get