use platform independent data types to create the initrd

This commit is contained in:
Stefan Lankes 2011-03-22 19:04:37 +01:00
parent b447d78179
commit 88393984d9
2 changed files with 4 additions and 4 deletions

View file

@ -43,9 +43,9 @@ typedef struct {
} initrd_header_t;
typedef struct {
uint32_t length;
uint32_t offset;
char fname[MAX_FNAME];
size_t length;
off_t offset;
} initrd_file_desc_t;
static ssize_t initrd_read(vfs_node_t* node, uint8_t* buffer, size_t size, off_t offset)

View file

@ -33,9 +33,9 @@ typedef struct {
} initrd_header_t;
typedef struct {
uint32_t length;
uint32_t offset;
char fname[MAX_FNAME];
size_t length;
off_t offset;
} initrd_file_desc_t;
static void print_options(void)