diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-21 14:25:09 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-21 14:25:09 +0000 |
commit | 6a22fa997f6726d28327d0c1a4d52272b8c3fafc (patch) | |
tree | 820d8f58dca6ee417785c2ee8d7e071b8173cbe3 /include/coff/ti.h | |
parent | 32056569e11045e0f7898d6e3aa205a1f05685f9 (diff) | |
download | gdb-6a22fa997f6726d28327d0c1a4d52272b8c3fafc.tar.gz |
Fix compile time warnings
Diffstat (limited to 'include/coff/ti.h')
-rw-r--r-- | include/coff/ti.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/coff/ti.h b/include/coff/ti.h index 5c58d8936fa..7f45a56e572 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) \ |