The "automatic cast" example fixed

It was not compilable
Merge pull request #81 from zencd/patch-1

The "automatic cast" example fixed