]> git.codecow.com Git - Monocypher.git/commit
Fixed C++ compilation
authorLoup Vaillant <loup@loup-vaillant.fr>
Wed, 8 Jan 2020 22:03:55 +0000 (23:03 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Wed, 8 Jan 2020 22:03:55 +0000 (23:03 +0100)
commite1520e87d331c54bd3f387ff7e3e0b4fe9f3031c
tree245353f06d3a169dcf8a32e943631fea31c5b18f
parent568437894a93a6f34b7e3cf21332683946c33902
Fixed C++ compilation

Fixes #148

C++ is less lenient than C with its casts. It requires the pointers to
be cast to the correct type, `void*` alone does not work.

TODO: we should probably fix the documentation as well.
src/monocypher.c
src/optional/monocypher-ed25519.c
tests/test.c