mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Specify cast
This commit is contained in:
parent
4cc2e5e944
commit
0775a07d87
@ -129,8 +129,8 @@ file_header_t *get_header_tar(FILE * tar_stream)
|
|||||||
tar_entry->link_name =
|
tar_entry->link_name =
|
||||||
strlen(tar.formated.linkname) ? xstrdup(tar.formated.linkname) : NULL;
|
strlen(tar.formated.linkname) ? xstrdup(tar.formated.linkname) : NULL;
|
||||||
tar_entry->device =
|
tar_entry->device =
|
||||||
(strtol(tar.formated.devmajor, NULL, 8) << 8) +
|
(dev_t) ((strtol(tar.formated.devmajor, NULL, 8) << 8) +
|
||||||
strtol(tar.formated.devminor, NULL, 8);
|
strtol(tar.formated.devminor, NULL, 8));
|
||||||
|
|
||||||
return (tar_entry);
|
return (tar_entry);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user