diff options
author | Loic Dachary <ldachary@redhat.com> | 2015-09-02 19:11:51 +0200 |
---|---|---|
committer | Loic Dachary <ldachary@redhat.com> | 2015-09-02 19:20:33 +0200 |
commit | d1b6bbf706b2628ab21cee2eb51a7cfe8cf04bcd (patch) | |
tree | a54d2f73e0d3b8cb5666788e2504098364240ac8 /README | |
parent | 284a97a0d9299721a62e357f8a17a31c16533fe1 (diff) | |
download | gf-complete-d1b6bbf706b2628ab21cee2eb51a7cfe8cf04bcd.tar.gz |
add -Wsign-compare and address the warnings
* (1 << w) are changed into ((uint32_t)1 << w)
* int are changed into uint32_t
gf.c: gf_composite_get_default_poly:
a larger unsigned were assigned to unsigned integers in which case
the type of the assigned variable is changed to be the same as the
value assigned to it.
gf_w16.c: GF_MULTBY_TWO
setting the parameter to a variable instead of passing the expression
resolves the warning for some reason.
Signed-off-by: Loic Dachary <loic@dachary.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions