diff options
author | Melissa Mears <myriachan@cox.net> | 2013-12-03 15:56:39 -0800 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-12-04 20:18:44 +0000 |
commit | b0b5b51193566960d0232d55a39daad70c9026f4 (patch) | |
tree | bd21cf4cd8bf8bf86da4377e32c3576d5f2463bc /tests/libtest/lib557.c | |
parent | ff9b66a8d4abb2fd92b12ae8ae3e4e7f39856af7 (diff) |
pop3: Fix POP3_TYPE_ANY signed compilation warning
POP3_TYPE_ANY, or ~0, is written to pop3c->preftype in lib/pop3c.c, an
unsigned int variable. The result of ~0 is -1, which caused a warning
due to writing a negative number to an unsigned variable. To fix this,
make the expression ~0U so that its value is considered the unsigned
number UINT_MAX which is what SASL_AUTH_ANY does in curl_sasl.h.
Diffstat (limited to 'tests/libtest/lib557.c')
0 files changed, 0 insertions, 0 deletions