]> git.codecow.com Git - Monocypher.git/commit
make implicit typecast explicit
authorSethArchambault <seth@doercreator.com>
Fri, 20 Oct 2023 00:18:14 +0000 (20:18 -0400)
committerLoup Vaillant <github-is-valid@loup-vaillant.fr>
Sun, 22 Oct 2023 22:16:00 +0000 (00:16 +0200)
commit67771e5074263d4402d96a37064b6d84933eff7b
treedc50e22793f50f9e98d9dfa71f7fbe34b8964dd0
parent983e136bbd3ce6cfb2062324bc64366379827e0b
make implicit typecast explicit

This came out of adding these compile options:
`-Werror -Wall -Wextra -Wshadow -Wconversion -Wno-deprecated-declarations -Wno-unused-parameter`

/src/monocypher.c
-u32  index     = lane * lane_size + (u32)ref;
+u32  index     = (u32)(lane * lane_size) + (u32)ref;
src/monocypher.c