Fixed MSVC compile error in ce6c4c63a3a5c1516780f2eac978d02820a8dc0b

- Fixed bugreport:7818, thanks to sevenzz23
  http://hercules.ws/board/tracker/issue-7818-error-when-compiling/

Signed-off-by: Haru <haru@dotalux.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules