Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Replaced off_t with int64_t in filemap.c for UNIX #1

Merged
merged 1 commit into from
May 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libyara/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ YR_API int yr_filemap_map_fd(

YR_API int yr_filemap_map_fd(
YR_FILE_DESCRIPTOR file,
off_t offset,
int64_t offset,
size_t size,
YR_MAPPED_FILE* pmapped_file)
{
Expand Down Expand Up @@ -293,7 +293,7 @@ YR_API int yr_filemap_map_ex(

YR_API int yr_filemap_map_ex(
const char* file_path,
off_t offset,
int64_t offset,
size_t size,
YR_MAPPED_FILE* pmapped_file)
{
Expand Down