aboutsummaryrefslogtreecommitdiff
path: root/lib/setopt.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-05-03 22:16:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-03 22:16:57 +0200
commit1156fdd01dcb7751081ea07603812666e5bbe6b7 (patch)
tree020348d4f14847891829b64d33ede588883bdd44 /lib/setopt.h
parent7f41432c191c70f7f782802cd17e95e87a9a7671 (diff)
ssh-libssh.c: fix left shift compiler warning
ssh-libssh.c:2429:21: warning: result of '1 << 31' requires 33 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] 'len' will never be that big anyway so I converted the run-time check to a regular assert.
Diffstat (limited to 'lib/setopt.h')
0 files changed, 0 insertions, 0 deletions