Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107092378
D44613.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
973 B
Referenced Files
None
Subscribers
None
D44613.diff
View Options
diff --git a/sys/fs/tarfs/tarfs_vfsops.c b/sys/fs/tarfs/tarfs_vfsops.c
--- a/sys/fs/tarfs/tarfs_vfsops.c
+++ b/sys/fs/tarfs/tarfs_vfsops.c
@@ -80,7 +80,7 @@
CTASSERT(sizeof(struct ustar_header) == TARFS_BLOCKSIZE);
-#define TAR_EOF ((off_t)-1)
+#define TAR_EOF ((size_t)-1)
#define TAR_TYPE_FILE '0'
#define TAR_TYPE_HARDLINK '1'
@@ -430,13 +430,13 @@
* failure.
*/
static int
-tarfs_alloc_one(struct tarfs_mount *tmp, off_t *blknump)
+tarfs_alloc_one(struct tarfs_mount *tmp, size_t *blknump)
{
char block[TARFS_BLOCKSIZE];
struct ustar_header *hdrp = (struct ustar_header *)block;
struct sbuf *namebuf = NULL;
char *exthdr = NULL, *name = NULL, *link = NULL;
- off_t blknum = *blknump;
+ size_t blknum = *blknump;
int64_t num;
int endmarker = 0;
char *namep, *sep;
@@ -861,7 +861,7 @@
struct thread *td = curthread;
struct tarfs_mount *tmp;
struct tarfs_node *root;
- off_t blknum;
+ size_t blknum;
time_t mtime;
int error;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 11:58 PM (16 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15748117
Default Alt Text
D44613.diff (973 B)
Attached To
Mode
D44613: tarfs: Fix 32-bit build.
Attached
Detach File
Event Timeline
Log In to Comment