some more explicitness

pull/11/head
cathugger 5 years ago
parent 5e97518634
commit 30d26a3e67

@ -77,6 +77,6 @@ int base16_valid(const char *src,size_t *count)
;
if (count)
*count = p - src;
*count = (size_t) (p - src);
return !*p;
}

@ -96,6 +96,6 @@ int base32_valid(const char *src,size_t *count)
;
if (count)
*count = p - src;
*count = (size_t) (p - src);
return !*p;
}

@ -20,7 +20,7 @@ int writeall(FH fd,const u8 *data,size_t len)
continue;
return -1;
}
len -= wrote;
len -= (size_t) wrote;
data += wrote;
}
return 0;

Loading…
Cancel
Save