Skip to content
Snippets Groups Projects
Commit 9410f403 authored by nbd's avatar nbd
Browse files

firmware-tools/ptgen: use stdint types for struct pte


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45957 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 182fcc22
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <ctype.h>
#include <fcntl.h>
#include <stdint.h>
......@@ -39,13 +40,13 @@
#endif
/* Partition table entry */
struct pte {
unsigned char active;
unsigned char chs_start[3];
unsigned char type;
unsigned char chs_end[3];
unsigned int start;
unsigned int length;
struct pte {
uint8_t active;
uint8_t chs_start[3];
uint8_t type;
uint8_t chs_end[3];
uint32_t start;
uint32_t length;
};
struct partinfo {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment