Reacted on compiler warnings of Debian Sid
This commit is contained in:
parent
c84f6ae689
commit
6ca841e002
@ -2913,7 +2913,7 @@ int iso_image_filesystem_new(IsoDataSource *src, struct iso_read_opts *opts,
|
||||
goto fs_cleanup;
|
||||
}
|
||||
|
||||
strncpy(ifs->type, "iso ", 4);
|
||||
memcpy(ifs->type, "iso ", 4);
|
||||
ifs->data = data;
|
||||
ifs->refcount = 1;
|
||||
ifs->version = 0;
|
||||
|
@ -815,7 +815,7 @@ int iso_local_filesystem_new(IsoFilesystem **fs)
|
||||
}
|
||||
|
||||
/* fill struct */
|
||||
strncpy(lfs->type, "file", 4);
|
||||
memcpy(lfs->type, "file", 4);
|
||||
lfs->refcount = 1;
|
||||
lfs->version = 0;
|
||||
lfs->data = NULL; /* we don't need private data */
|
||||
|
Loading…
Reference in New Issue
Block a user