Documentation fix on sample source code

The example code doesn't compile without this patch as sym isn't a pointer.
Merge pull request #344 from Adellica/master

Documentation fix on sample source code