Fix shading support on Windows
Fix shading support on Windows

Motivation:

Shading does not work on windows

Modification:

Fix off-by-one error

Result:

Shading works on windows as well.

netty/netty-tcnative,netty/netty-tcnative,netty/netty-tcnative,netty/netty-tcnative