]> 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)
committerBrad Hubbard <bhubbard@redhat.com>
Mon, 10 Apr 2017 07:47:45 +0000 (17:47 +1000)
commit31cd20f7f318c13604bbd5add532003358e469eb
treefb98f85c548038a5ff294141f89603dda70dd423
parent414c96ef2b9934953b6facb31d803d79b1dd1405
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>
src/reed_sol.c