LoupVaillant / Monocypher

An easy to use, easy to deploy crypto library
https://monocypher.org
Other
594 stars 79 forks source link

MSVC 2019 warnings #179

Closed mireiner closed 4 years ago

mireiner commented 4 years ago

Hi there,

for cosmetic reasons you might like to know and fix following MSVC 2019 warnings:

monocypher.c(935,61): warning C4244: "return": conversion from "u64" to "u32", possible loss of data

monocypher.c(1422,1): warning C4267: 'initializing': conversion from "size_t" to "int", possible loss of data

Thank you for this good library! mireiner

LoupVaillant commented 4 years ago

Good catch, thanks! Fixed now.