diff --git a/src/include/protocols/dumprestore.h b/src/include/protocols/dumprestore.h index bc014cef..dab890c0 100644 --- a/src/include/protocols/dumprestore.h +++ b/src/include/protocols/dumprestore.h @@ -69,25 +69,25 @@ union u_spcl { char dummy[TP_BSIZE]; struct s_spcl { - long c_type; /* record type (see below) */ + int32_t c_type; /* record type (see below) */ time_t c_date; /* date of this dump */ time_t c_ddate; /* date of previous dump */ - long c_volume; /* dump volume number */ + int32_t c_volume; /* dump volume number */ daddr_t c_tapea; /* logical block of this record */ ino_t c_inumber; /* number of inode */ - long c_magic; /* magic number (see above) */ - long c_checksum; /* record checksum */ + int32_t c_magic; /* magic number (see above) */ + int32_t c_checksum; /* record checksum */ struct dinode c_dinode; /* ownership and mode of inode */ - long c_count; /* number of valid c_addr entries */ + int32_t c_count; /* number of valid c_addr entries */ char c_addr[TP_NINDIR]; /* 1 => data; 0 => hole in inode */ char c_label[LBLSIZE]; /* dump label */ - long c_level; /* level of this dump */ + int32_t c_level; /* level of this dump */ char c_filesys[NAMELEN]; /* name of dumpped file system */ char c_dev[NAMELEN]; /* name of dumpped device */ char c_host[NAMELEN]; /* name of dumpped host */ - long c_flags; /* additional information */ - long c_firstrec; /* first record on volume */ - long c_spare[32]; /* reserved for future uses */ + int32_t c_flags; /* additional information */ + int32_t c_firstrec; /* first record on volume */ + int32_t c_spare[32]; /* reserved for future uses */ } s_spcl; } u_spcl; #define spcl u_spcl.s_spcl