BLAKE2 / libb2

C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
Creative Commons Zero v1.0 Universal
132 stars 47 forks source link

Fix implicit conversions and enable warnings #7

Closed garoose closed 7 years ago

garoose commented 7 years ago

We use blake2b in our project and found it beneficial to enable implicit conversion warnings, which required fixing any implicit conversions in blake2b. I extended this fix to all of libb2 in case there was any interest in up-streaming this change. It might not be desirable to actually enable said warning in the project unless you have a way to test compilation in all supported environments, but the fixes could still be nice.

sneves commented 7 years ago

That sounds like a good idea. Thank you. I'll check this out.