]> sigrok.org Git - libsigrok.git/commit
input/raw_analog: Fix two compiler warnings.
authorUwe Hermann <redacted>
Mon, 21 Dec 2015 15:22:44 +0000 (16:22 +0100)
committerUwe Hermann <redacted>
Mon, 21 Dec 2015 15:23:39 +0000 (16:23 +0100)
commit30726a8a3222e8effcc63c7a25db1546b6d558fd
tree60fd3909b38f12073c29d2a147539848a363616b
parent21cbe810fe12fbbc93b6f80c950c377528353442
input/raw_analog: Fix two compiler warnings.

../src/input/raw_analog.c:63:67: warning: integer overflow in expression [-Woverflow]
  { "S32_LE",     { 4, TRUE,  FALSE, FALSE, 0, TRUE, { 1, INT32_MAX+1}, { 0, 1}}},
                                                                   ^
../src/input/raw_analog.c:65:67: warning: integer overflow in expression [-Woverflow]
  { "S32_BE",     { 4, TRUE,  FALSE, TRUE,  0, TRUE, { 1, INT32_MAX+1}, { 0, 1}}},
                                                                   ^
src/input/raw_analog.c