diff options
Diffstat (limited to 'archival/rpm.c')
-rw-r--r-- | archival/rpm.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/archival/rpm.c b/archival/rpm.c index e3f20ca35..eb2c0433b 100644 --- a/archival/rpm.c +++ b/archival/rpm.c | |||
@@ -82,10 +82,10 @@ enum rpm_functions_e { | |||
82 | }; | 82 | }; |
83 | 83 | ||
84 | typedef struct { | 84 | typedef struct { |
85 | u_int32_t tag; /* 4 byte tag */ | 85 | uint32_t tag; /* 4 byte tag */ |
86 | u_int32_t type; /* 4 byte type */ | 86 | uint32_t type; /* 4 byte type */ |
87 | u_int32_t offset; /* 4 byte offset */ | 87 | uint32_t offset; /* 4 byte offset */ |
88 | u_int32_t count; /* 4 byte count */ | 88 | uint32_t count; /* 4 byte count */ |
89 | } rpm_index; | 89 | } rpm_index; |
90 | 90 | ||
91 | static void *map; | 91 | static void *map; |
@@ -227,10 +227,10 @@ rpm_index **rpm_gettags(int fd, int *num_tags) | |||
227 | for (pass = 0; pass < 2; pass++) { /* 1st pass is the signature headers, 2nd is the main stuff */ | 227 | for (pass = 0; pass < 2; pass++) { /* 1st pass is the signature headers, 2nd is the main stuff */ |
228 | struct { | 228 | struct { |
229 | char magic[3]; /* 3 byte magic: 0x8e 0xad 0xe8 */ | 229 | char magic[3]; /* 3 byte magic: 0x8e 0xad 0xe8 */ |
230 | u_int8_t version; /* 1 byte version number */ | 230 | uint8_t version; /* 1 byte version number */ |
231 | u_int32_t reserved; /* 4 bytes reserved */ | 231 | uint32_t reserved; /* 4 bytes reserved */ |
232 | u_int32_t entries; /* Number of entries in header (4 bytes) */ | 232 | uint32_t entries; /* Number of entries in header (4 bytes) */ |
233 | u_int32_t size; /* Size of store (4 bytes) */ | 233 | uint32_t size; /* Size of store (4 bytes) */ |
234 | } header; | 234 | } header; |
235 | rpm_index *tmpindex; | 235 | rpm_index *tmpindex; |
236 | int storepos; | 236 | int storepos; |