]> git.codecow.com Git - Monocypher.git/commit
Fixed Clang warnings
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 19 Nov 2019 23:05:26 +0000 (00:05 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 19 Nov 2019 23:05:26 +0000 (00:05 +0100)
commit10ecfb8d97b80328c913dc00964f6ad288d5c83f
treea4dba4a71fb4ee615c74ff5492e47a54502fa4e4
parent85024a4b16b2ae58de563d78dc7e228c6f14bb45
Fixed Clang warnings

Reverts 0073a9c8941a0e04a10035e7cc00ffddc8c0f083

Turns out the C99 standard guarantees a 2's complement representation
for fixed width integers: section 7.20.1.1, paragraph 1:

> The typedef name intN_t designates a signed integer type with width N,
> no padding bits, and a two's complement representation.

The comment was not needed though (those line are fully portable C99),
so I preserved its removal.
src/monocypher.c