Fixed Undefined warnings
Merge pull request #5 from rusuandreirobert/patch-1

Fixed Undefined warnings