summaryrefslogtreecommitdiff
path: root/isofs/rr.h
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2015-12-29 22:34:20 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-12-29 22:42:39 +0100
commit42d04ae6ab017b65c6721dd4e9823c34b3656229 (patch)
tree9140beb0f236bcf2cc078b5051b316f618417355 /isofs/rr.h
parent263af41f25779c36585d6c17668a15fa07163c4e (diff)
fix compiler warnings in hurd/isofs
* isofs/rr.c (rrip_work): Use unsigned char. * isofs/rr.h: Use unsigned char instead of char.
Diffstat (limited to 'isofs/rr.h')
-rw-r--r--isofs/rr.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/isofs/rr.h b/isofs/rr.h
index ab80e4bd..59838eb6 100644
--- a/isofs/rr.h
+++ b/isofs/rr.h
@@ -99,9 +99,9 @@ struct su_header
/* The body of a CE (Continuation Area) field */
struct su_ce
{
- char continuation[8];
- char offset[8];
- char size[8];
+ unsigned char continuation[8];
+ unsigned char offset[8];
+ unsigned char size[8];
};
/* The body of a SP (Sharing Protocol Indicator) field */
@@ -142,17 +142,17 @@ struct su_er
/* The body of a PX (Posix Attributes) field. */
struct rr_px
{
- char mode[8];
- char nlink[8];
- char uid[8];
- char gid[8];
+ unsigned char mode[8];
+ unsigned char nlink[8];
+ unsigned char uid[8];
+ unsigned char gid[8];
};
/* The body of a PN (Posix Device Node) field. */
struct rr_pn
{
- char high[8];
- char low[8];
+ unsigned char high[8];
+ unsigned char low[8];
};
/* The body of a SL (Symbolic Link) field. */
@@ -188,13 +188,13 @@ struct rr_nm
/* The body of a CL (Child Directory Location) field. */
struct rr_cl
{
- char loc[8];
+ unsigned char loc[8];
};
/* The body of a PL (Parent Directory Location) field. */
struct rr_pl
{
- char loc[8];
+ unsigned char loc[8];
};
/* The body of a TF (Time Stamp) field. */
@@ -234,7 +234,7 @@ struct rr_sf
/* AU -- author (version 1) */
struct gn_au
{
- char author[8];
+ unsigned char author[8];
};
/* TR -- translator (version 1) */
@@ -247,13 +247,13 @@ struct gn_tr
/* MD -- full mode (version 1) */
struct gn_md
{
- char mode[8];
+ unsigned char mode[8];
};
/* FL -- flags (version 1) */
struct gn_fl
{
- char flags[8];
+ unsigned char flags[8];
};