Skip to content

Commit

Permalink
Merge pull request mendsley#17 from zhinian1992/x86
Browse files Browse the repository at this point in the history
size_t to uint64 for 32 bit systems
  • Loading branch information
pribault committed Mar 22, 2021
2 parents 6b41445 + 5836142 commit 804c5db
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/c/shared.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@
#define FOPEN_WRITE_FLAGS "w"
#endif

typedef long long unsigned int size_header;
typedef struct s_header
{
char magic[8];
size_t bzctrllen;
size_t bzdatalen;
size_t newsize;
size_header bzctrllen;
size_header bzdatalen;
size_header newsize;
} t_header;

#endif

0 comments on commit 804c5db

Please sign in to comment.