aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 11:56:13 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2023-06-27 12:01:56 -0700
commit3412dcec612b473adabdff0e5d6004bfc94c938c (patch)
tree0c53ada1f02cbcea2901823f0c4590b2b072dc7d /include
parenta9f1da26dac0a9ee502a63c2633cf3b5dfd043b3 (diff)
downloadgdb-3412dcec612b473adabdff0e5d6004bfc94c938c.zip
gdb-3412dcec612b473adabdff0e5d6004bfc94c938c.tar.gz
gdb-3412dcec612b473adabdff0e5d6004bfc94c938c.tar.bz2
libsframe: use appropriate data types for args of sframe_encode
include/ * sframe-api.h (sframe_encode): Use of uint8_t is more appropriate. libsframe/ * sframe.c (sframe_encode): Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/sframe-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sframe-api.h b/include/sframe-api.h
index 4661492..9cb2db0 100644
--- a/include/sframe-api.h
+++ b/include/sframe-api.h
@@ -202,7 +202,7 @@ sframe_fre_get_ra_mangled_p (sframe_decoder_ctx *dctx,
/* Create an encoder context with the given SFrame format version VER, FLAGS
and ABI information. Sets errp if failure. */
extern sframe_encoder_ctx *
-sframe_encode (unsigned char ver, unsigned char flags, int abi,
+sframe_encode (uint8_t ver, uint8_t flags, uint8_t abi_arch,
int8_t fixed_fp_offset, int8_t fixed_ra_offset, int *errp);
/* Free the encoder context. */