hxtool: parse_bytes() now returns ssize_t
This commit is contained in:

committed by
Luke Howard

parent
e84bcc29d3
commit
f91b171f04
@@ -1607,7 +1607,8 @@ int
|
|||||||
random_data(void *opt, int argc, char **argv)
|
random_data(void *opt, int argc, char **argv)
|
||||||
{
|
{
|
||||||
void *ptr;
|
void *ptr;
|
||||||
int len, ret;
|
ssize_t len;
|
||||||
|
int ret;
|
||||||
|
|
||||||
len = parse_bytes(argv[0], "byte");
|
len = parse_bytes(argv[0], "byte");
|
||||||
if (len <= 0) {
|
if (len <= 0) {
|
||||||
|
Reference in New Issue
Block a user