aboutsummaryrefslogtreecommitdiff
path: root/bfd/archures.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/archures.c')
-rw-r--r--bfd/archures.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/bfd/archures.c b/bfd/archures.c
index 3c7dc13..21e980e 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -934,7 +934,7 @@ FUNCTION
bfd_octets_per_byte
SYNOPSIS
- int bfd_octets_per_byte(bfd *abfd);
+ unsigned int bfd_octets_per_byte(bfd *abfd);
DESCRIPTION
Return the number of octets (8-bit quantities) per target byte
@@ -943,7 +943,7 @@ DESCRIPTION
*/
-int
+unsigned int
bfd_octets_per_byte (abfd)
bfd * abfd;
{
@@ -956,8 +956,8 @@ FUNCTION
bfd_arch_mach_octets_per_byte
SYNOPSIS
- int bfd_arch_mach_octets_per_byte(enum bfd_architecture arch,
- unsigned long machine);
+ unsigned int bfd_arch_mach_octets_per_byte(enum bfd_architecture arch,
+ unsigned long machine);
DESCRIPTION
See bfd_octets_per_byte.
@@ -966,7 +966,7 @@ DESCRIPTION
available
*/
-int
+unsigned int
bfd_arch_mach_octets_per_byte (arch, mach)
enum bfd_architecture arch;
unsigned long mach;
@@ -977,4 +977,3 @@ bfd_arch_mach_octets_per_byte (arch, mach)
return ap->bits_per_byte / 8;
return 1;
}
-