feat(file): changed the mode type from uint32_t to the proper mode_t
This commit is contained in:
parent
1606f479db
commit
37a696bd38
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
typedef struct {
|
||||
char** content;
|
||||
|
|
@ -12,7 +13,7 @@ typedef struct {
|
|||
} File;
|
||||
|
||||
typedef struct {
|
||||
uint32_t mode;
|
||||
mode_t mode;
|
||||
char* name;
|
||||
} FileInfo;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue