mirror of https://github.com/hak5/openwrt-owl.git
firmware-tools/ptgen: use stdint types for struct pte
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45957owl
parent
6263567444
commit
39b8f7c0f7
|
@ -26,6 +26,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -40,12 +41,12 @@
|
||||||
|
|
||||||
/* Partition table entry */
|
/* Partition table entry */
|
||||||
struct pte {
|
struct pte {
|
||||||
unsigned char active;
|
uint8_t active;
|
||||||
unsigned char chs_start[3];
|
uint8_t chs_start[3];
|
||||||
unsigned char type;
|
uint8_t type;
|
||||||
unsigned char chs_end[3];
|
uint8_t chs_end[3];
|
||||||
unsigned int start;
|
uint32_t start;
|
||||||
unsigned int length;
|
uint32_t length;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct partinfo {
|
struct partinfo {
|
||||||
|
|
Loading…
Reference in New Issue