Skip to content

Commit

Permalink
some more explicitness
Browse files Browse the repository at this point in the history
  • Loading branch information
cathugger committed Feb 23, 2018
1 parent 5e97518 commit 30d26a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base16_from.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion base32_from.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion ioutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30d26a3

Please sign in to comment.