]> sigrok.org Git - libsigrok.git/commitdiff
libsigrok.h: Fix multiple compiler warnings (-Wshift-overflow=2).
authorUwe Hermann <redacted>
Wed, 16 May 2018 21:20:40 +0000 (23:20 +0200)
committerUwe Hermann <redacted>
Wed, 16 May 2018 21:57:58 +0000 (23:57 +0200)
  ../include/libsigrok/libsigrok.h:653:19: warning: result of β€˜1 << 31’ requires 33 bits to represent, but β€˜int’ only has 32 bits [-Wshift-overflow=]
    SR_CONF_GET = (1 << 31),
                     ^~

[...]


No differences found