Fix incorrect specification.

Fix an incorrect type specification generating errors when running
dialyzer.
Merge pull request #11 from basho/bugfix/csm/wrong-type

Fix incorrect specification.