mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-01-09 19:17:19 -03:00
some more explicitness
This commit is contained in:
parent
5e97518634
commit
30d26a3e67
3 changed files with 3 additions and 3 deletions
|
@ -77,6 +77,6 @@ int base16_valid(const char *src,size_t *count)
|
||||||
;
|
;
|
||||||
|
|
||||||
if (count)
|
if (count)
|
||||||
*count = p - src;
|
*count = (size_t) (p - src);
|
||||||
return !*p;
|
return !*p;
|
||||||
}
|
}
|
||||||
|
|
|
@ -96,6 +96,6 @@ int base32_valid(const char *src,size_t *count)
|
||||||
;
|
;
|
||||||
|
|
||||||
if (count)
|
if (count)
|
||||||
*count = p - src;
|
*count = (size_t) (p - src);
|
||||||
return !*p;
|
return !*p;
|
||||||
}
|
}
|
||||||
|
|
2
ioutil.c
2
ioutil.c
|
@ -20,7 +20,7 @@ int writeall(FH fd,const u8 *data,size_t len)
|
||||||
continue;
|
continue;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
len -= wrote;
|
len -= (size_t) wrote;
|
||||||
data += wrote;
|
data += wrote;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue