Fixed warnings for function max.
Merge pull request #5 from LanguageProcessingUnit/master

Fixed warnings for function max.