crypto: fix VC++ warning C4244