Fix NUM2INT on retun value type
Merge pull request #75 from utenmiki/num2int

Fix NUM2INT on retun value type