Fix different signedness warning
This commit is contained in:
parent
f365f8710d
commit
bfecbc86af
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ Result extractArchive(const std::string &archivePath, const std::string &wantedF
|
|||
return EXTRACT_ERROR_ARCHIVE;
|
||||
}
|
||||
|
||||
size_t written = fwrite(buf, 1, size, file);
|
||||
ssize_t written = fwrite(buf, 1, size, file);
|
||||
|
||||
/* Failed to write, likely out of space. */
|
||||
if (written != size) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue