]> git-server-git.apps.pok.os.sepia.ceph.com Git - jerasure.git/commit
Resolve cppcheck Signed integer overflow error
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 10 Apr 2017 07:47:45 +0000 (17:47 +1000)
committerLoic Dachary <loic@dachary.org>
Mon, 10 Apr 2017 08:29:47 +0000 (10:29 +0200)
commit39612c75510327dcb6ebeef1b4e3868ff5808fab
tree1608906b547e144c00b4e692736335752fed91bd
parent4add4fc4d84eaa0ff779ac92e5270c08c278b2d9
Resolve cppcheck Signed integer overflow error

The type of expression '1<<31' is signed int and this causes cppcheck to
issue the following warning.

src/gf_w32.c:681]: (error) Signed integer overflow for expression
'1<<31'.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 31cd20f7f318c13604bbd5add532003358e469eb)
src/reed_sol.c