Skip to content

Commit

Permalink
remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
yhoogstrate committed Jan 5, 2022
1 parent 4b3c6f1 commit fef7640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencies/zstd-seekable-adapted/zstdseek_decompress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ size_t ZSTD_seekable_getFileDecompressedSize(ZSTD_seekable* zs)
{
size_t written = 0;

for(size_t i = 0 ; i < zs->seekTable.tableLen ; i++) {
for(unsigned int i = 0 ; i < zs->seekTable.tableLen ; i++) {
written += ZSTD_seekable_getFrameDecompressedSize(zs, i);
}

Expand Down
2 changes: 1 addition & 1 deletion src/fastafs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,7 @@ uint32_t fastafs::view_faidx_chunk(uint32_t padding, char *buffer, size_t buffer

size_t to_copy = std::min(buffer_size, contents.size() - file_offset );

return contents.copy(buffer, to_copy, file_offset );
return (uint32_t) contents.copy(buffer, to_copy, file_offset );
}


Expand Down

0 comments on commit fef7640

Please sign in to comment.