Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-21 18:25:09 +0400
committerNick Clifton <nickc@redhat.com>2001-09-21 18:25:09 +0400
commitfc08ed56c32836a454f978eca6851fa98ffb703e (patch)
tree9d3c8364ea51635165c52faa376846005f9c4ed7 /include/coff/ti.h
parent8d9a59afb1ae3d93cd1eab50e9b1cae5e7e97793 (diff)
Fix compile time warnings
Diffstat (limited to 'include/coff/ti.h')
-rw-r--r--include/coff/ti.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/coff/ti.h b/include/coff/ti.h
index 5c58d8936..7f45a56e5 100644
--- a/include/coff/ti.h
+++ b/include/coff/ti.h
@@ -219,7 +219,7 @@ struct external_scnhdr {
#define PUT_SCNHDR_FLAGS(ABFD, VAL, PTR) \
(COFF2_P (ABFD) ? H_PUT_32 (ABFD, VAL, PTR) : H_PUT_16 (ABFD, VAL, (PTR) -4))
#define GET_SCNHDR_PAGE(ABFD, PTR) \
- (COFF2_P (ABFD) ? H_GET_16 (ABFD, PTR) : H_GET_8 (ABFD, (PTR) -7))
+ (COFF2_P (ABFD) ? H_GET_16 (ABFD, PTR) : (unsigned) H_GET_8 (ABFD, (PTR) -7))
/* on output, make sure that the "reserved" field is zero */
#define PUT_SCNHDR_PAGE(ABFD, VAL, PTR) \
(COFF2_P (ABFD) \