Fixed some warnings L4 on the VS2012.