[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 42/75: fix compiler warnings in hurd/isofs
From: |
Samuel Thibault |
Subject: |
[hurd] 42/75: fix compiler warnings in hurd/isofs |
Date: |
Thu, 14 Jan 2016 01:04:09 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch dde
in repository hurd.
commit 42d04ae6ab017b65c6721dd4e9823c34b3656229
Author: Flavio Cruz <address@hidden>
Date: Tue Dec 29 22:34:20 2015 +0100
fix compiler warnings in hurd/isofs
* isofs/rr.c (rrip_work): Use unsigned char.
* isofs/rr.h: Use unsigned char instead of char.
---
isofs/rr.c | 2 +-
isofs/rr.h | 28 ++++++++++++++--------------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/isofs/rr.c b/isofs/rr.c
index adc95c3..59205da 100644
--- a/isofs/rr.c
+++ b/isofs/rr.c
@@ -84,7 +84,7 @@ rrip_work (struct dirrect *dr, struct rrip_lookup *rr,
{
struct dirrect *p;
off_t filestart;
- char *c;
+ unsigned char *c;
error_t err;
/* Look at the first directory entry in root. */
diff --git a/isofs/rr.h b/isofs/rr.h
index ab80e4b..59838eb 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];
};
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 55/75: fix compiler warnings in hurd/utils, (continued)
- [hurd] 55/75: fix compiler warnings in hurd/utils, Samuel Thibault, 2016/01/13
- [hurd] 48/75: drop the deprecated malloc/free hooks in hurd/mach-defpager, Samuel Thibault, 2016/01/13
- [hurd] 38/75: fix compiler warnings in hurd/ext2fs, Samuel Thibault, 2016/01/13
- [hurd] 39/75: fix compiler warnings in hurd/console-client, Samuel Thibault, 2016/01/13
- [hurd] 51/75: Include missing header file in hurd/proc, Samuel Thibault, 2016/01/13
- [hurd] 34/75: boot: Fix boot.c compiler warning., Samuel Thibault, 2016/01/13
- [hurd] 53/75: fix compiler warnings in hurd/startup, Samuel Thibault, 2016/01/13
- [hurd] 36/75: fix compiler warnings in hurd/daemons, Samuel Thibault, 2016/01/13
- [hurd] 37/75: fix compiler warnings in hurd/exec, Samuel Thibault, 2016/01/13
- [hurd] 44/75: fix compiler warnings in hurd/libihash, Samuel Thibault, 2016/01/13
- [hurd] 42/75: fix compiler warnings in hurd/isofs,
Samuel Thibault <=
- [hurd] 43/75: fix compiler warnings in hurd/libftpconn, Samuel Thibault, 2016/01/13
- [hurd] 61/75: fix compiler warning in hurd/fstests, Samuel Thibault, 2016/01/13
- [hurd] 45/75: fix compiler warnings in hurd/libnetfs, Samuel Thibault, 2016/01/13
- [hurd] 59/75: Use DEVICE_IMPORTS to include libports/ports.h, Samuel Thibault, 2016/01/13
- [hurd] 46/75: fix compiler warnings in hurd/libshouldbeinlibc, Samuel Thibault, 2016/01/13