mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
makefs: use size_t as appropriate to clean up warnings
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
bd274cceae
commit
856d87c5af
2 changed files with 4 additions and 4 deletions
|
|
@ -224,7 +224,7 @@ cd9660_boot_setup_validation_entry(char sys)
|
|||
boot_catalog_validation_entry *ve;
|
||||
int16_t checksum;
|
||||
unsigned char *csptr;
|
||||
int i;
|
||||
size_t i;
|
||||
entry = cd9660_init_boot_catalog_entry();
|
||||
|
||||
ve = &entry->entry_data.VE;
|
||||
|
|
|
|||
|
|
@ -621,7 +621,7 @@ ffs_size_dir(fsnode *root, fsinfo_t *fsopts)
|
|||
if (node->type == S_IFREG)
|
||||
ADDSIZE(node->inode->st.st_size);
|
||||
if (node->type == S_IFLNK) {
|
||||
int slen;
|
||||
size_t slen;
|
||||
|
||||
slen = strlen(node->symlink) + 1;
|
||||
if (slen >= (ffs_opts->version == 1 ?
|
||||
|
|
@ -644,7 +644,7 @@ static void *
|
|||
ffs_build_dinode1(struct ufs1_dinode *dinp, dirbuf_t *dbufp, fsnode *cur,
|
||||
fsnode *root, fsinfo_t *fsopts)
|
||||
{
|
||||
int slen;
|
||||
size_t slen;
|
||||
void *membuf;
|
||||
struct stat *st = stampst.st_ino != 0 ? &stampst : &cur->inode->st;
|
||||
|
||||
|
|
@ -692,7 +692,7 @@ static void *
|
|||
ffs_build_dinode2(struct ufs2_dinode *dinp, dirbuf_t *dbufp, fsnode *cur,
|
||||
fsnode *root, fsinfo_t *fsopts)
|
||||
{
|
||||
int slen;
|
||||
size_t slen;
|
||||
void *membuf;
|
||||
struct stat *st = stampst.st_ino != 0 ? &stampst : &cur->inode->st;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue