← Commit list

0775a07d8

Glenn L McGrath
Glenn L McGrath
2002-08-22
FAILED Duration: 9s

Subject

Specify cast

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/libunarchive/get_header_tar.c+2 -2
@@ -129,8 +129,8 @@ file_header_t *get_header_tar(FILE * tar_stream)
tar_entry->link_name =
strlen(tar.formated.linkname) ? xstrdup(tar.formated.linkname) : NULL;
tar_entry->device =
- (strtol(tar.formated.devmajor, NULL, 8) << 8) +
- strtol(tar.formated.devminor, NULL, 8);
+ (dev_t) ((strtol(tar.formated.devmajor, NULL, 8) << 8) +
+ strtol(tar.formated.devminor, NULL, 8));
return (tar_entry);
}