Skip to content

Commit

Permalink
BUG: use uint64 for holding the size of a directory, otherwise we ove…
Browse files Browse the repository at this point in the history
…rflow on larger directories and never clean things up. this is related to issue #135
  • Loading branch information
ciscon committed May 10, 2024
1 parent 3925960 commit 772ca6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ typedef struct

typedef struct
{
file_t *files;
int size;
int numfiles;
file_t *files;
uint64_t size;
uint64_t numfiles;
int numdirs;
} dir_t;

Expand Down

0 comments on commit 772ca6b

Please sign in to comment.