File ciso-x86_64.patch of Package ciso
Index: ciso.h
===================================================================
--- ciso.h.orig
+++ ciso.h
@@ -22,18 +22,21 @@
#ifndef __CISO_H__
#define __CISO_H__
+
+#include <stdint.h>
+
/*
complessed ISO(9660) header format
*/
typedef struct ciso_header
{
- unsigned char magic[4]; /* +00 : 'C','I','S','O' */
- unsigned long header_size; /* +04 : header size (==0x18) */
- unsigned long long total_bytes; /* +08 : number of original data size */
- unsigned long block_size; /* +10 : number of compressed block size */
- unsigned char ver; /* +14 : version 01 */
- unsigned char align; /* +15 : align of index value */
- unsigned char rsv_06[2]; /* +16 : reserved */
+ uint8_t magic[4]; /* +00 : 'C','I','S','O' */
+ uint32_t header_size; /* +04 : header size (==0x18) */
+ uint64_t total_bytes; /* +08 : number of original data size */
+ uint32_t block_size; /* +10 : number of compressed block size */
+ uint8_t ver; /* +14 : version 01 */
+ uint8_t align; /* +15 : align of index value */
+ uint8_t rsv_06[2]; /* +16 : reserved */
#if 0
// INDEX BLOCK
unsigned int index[0]; /* +18 : block[0] index */