Shut up a compiler warning
Show which function argument was unexpected

Fixes #116.