From f1c37d75415888e00996a5011da821174dd1ae06 Mon Sep 17 00:00:00 2001 From: Sarah GLINER Date: Mon, 4 Mar 2024 10:04:11 +0100 Subject: [PATCH] btchip_context: change bip44_coin_type type to prevent overflow --- include/btchip_context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/btchip_context.h b/include/btchip_context.h index 562fbd65..db9656d3 100644 --- a/include/btchip_context.h +++ b/include/btchip_context.h @@ -292,8 +292,8 @@ typedef enum btchip_coin_kind_e { } btchip_coin_kind_t; typedef struct btchip_altcoin_config_s { - unsigned short bip44_coin_type; - unsigned short bip44_coin_type2; + unsigned int bip44_coin_type; + unsigned int bip44_coin_type2; unsigned short p2pkh_version; unsigned short p2sh_version; unsigned char family;