]> git.codecow.com Git - Monocypher.git/commit
Explicit conversions to small integers (for MSVC)
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 3 Apr 2018 19:39:47 +0000 (21:39 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 3 Apr 2018 19:39:47 +0000 (21:39 +0200)
commit2e8d4ebb0f042878c9bea58677f42068fcfb583e
tree086082d97c43b45f18a589bc9f1aefeb572b8acb
parent395241a2b3376c91e9c49a847fed6a6bac68a1a7
Explicit conversions to small integers (for MSVC)

MSVC warns about possible loss of information when doing implicit
conversion from bigger integers to smaller integers, such as u64 to u32.

Those were intentional, so I added explicit conversions.
src/monocypher.c