aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/elfxx-x86.c2
-rw-r--r--include/sframe-api.h2
-rw-r--r--libsframe/sframe.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
index 8e13a92..ffd02f1 100644
--- a/bfd/elfxx-x86.c
+++ b/bfd/elfxx-x86.c
@@ -1832,7 +1832,7 @@ _bfd_x86_elf_create_sframe_plt (bfd *output_bfd,
bool plt0_generated_p;
unsigned int plt0_entry_size;
unsigned char func_info;
- unsigned int fre_type;
+ uint32_t fre_type;
/* The dynamic plt section for which .sframe stack trace information is being
created. */
asection *dpltsec;
diff --git a/include/sframe-api.h b/include/sframe-api.h
index d04ebe8..70829ec 100644
--- a/include/sframe-api.h
+++ b/include/sframe-api.h
@@ -98,7 +98,7 @@ sframe_fde_create_func_info (uint32_t fre_type, uint32_t fde_type);
/* Gather the FRE type given the function size. */
-extern unsigned int
+extern uint32_t
sframe_calc_fre_type (size_t func_size);
/* The SFrame Decoder. */
diff --git a/libsframe/sframe.c b/libsframe/sframe.c
index 7391df0..8e9dc0a 100644
--- a/libsframe/sframe.c
+++ b/libsframe/sframe.c
@@ -601,7 +601,7 @@ sframe_fde_create_func_info (uint32_t fre_type,
/* Get the FRE type given the function size. */
/* FIXME API for linker. Revisit if its better placed somewhere else? */
-unsigned int
+uint32_t
sframe_calc_fre_type (size_t func_size)
{
uint32_t fre_type = 0;