src: fix VC++ warning C4244

This commit fixes several C4244 warnings in src\node.cc