Fixed warnings on Visual C++ 2010.
Merge pull request #14 from elmindreda/master

Fixed warnings on Visual C++ 2010