2
0
forked from Ivasoft/DSView

Parse 128 bit numberic value accurately

This commit is contained in:
dreamsourcelabTAI
2022-02-07 13:46:49 +08:00
parent cd449045b0
commit c7a3fb40a4
8 changed files with 37 additions and 117 deletions

View File

@@ -25,6 +25,8 @@
#include <stdint.h>
#include <glib.h>
#define DECODE_NUM_HEX_MAX_LEN 35
#ifdef __cplusplus
extern "C" {
#endif
@@ -347,7 +349,7 @@ struct srd_proto_data {
struct srd_proto_data_annotation {
int ann_class;
int ann_type;
char str_number_hex[18]; //numerical value hex format string
char str_number_hex[DECODE_NUM_HEX_MAX_LEN]; //numerical value hex format string
long long numberic_value;
char **ann_text; //text string lines
};