mirror of
https://github.com/rfc1036/whois.git
synced 2026-05-03 06:51:09 +00:00
Fix some signedness-related warnings
This commit is contained in:
parent
96f8dd873b
commit
c58b75e0a9
@ -553,7 +553,7 @@ void display_methods(void)
|
||||
}
|
||||
|
||||
char *read_line(FILE *fp) {
|
||||
int size = 128;
|
||||
size_t size = 128;
|
||||
int ch;
|
||||
size_t pos = 0;
|
||||
char *password;
|
||||
|
||||
@ -72,7 +72,7 @@ char *simple_recode(const iconv_t handle, const char *str)
|
||||
size_t err = iconv(handle, &inp, &inbytes_remaining, &outp,
|
||||
&outbytes_remaining);
|
||||
|
||||
if (err != -1)
|
||||
if (err != (size_t) -1)
|
||||
break; /* success */
|
||||
|
||||
switch (errno) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user