Fix return value of function in swig file to avoid compiler warning.
Merge pull request #324 from scottpurdy/master

Fix return value of function in swig file to avoid compiler warning.