Mercurial > hg > th-libs
changeset 498:1dbd9259c3b8
Change hexvalue type to unsigned.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Dec 2019 11:05:15 +0200 |
parents | ff3ebe22f6c5 |
children | 836e16f27b34 |
files | th_config.c th_config.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/th_config.c Wed Dec 25 11:00:51 2019 +0200 +++ b/th_config.c Wed Dec 25 11:05:15 2019 +0200 @@ -78,7 +78,7 @@ int th_cfg_add_hexvalue(th_cfgitem_t **cfg, const char *name, - int *itemData, int defValue) + unsigned int *itemData, unsigned int defValue) { th_cfgitem_t *node;
--- a/th_config.h Wed Dec 25 11:00:51 2019 +0200 +++ b/th_config.h Wed Dec 25 11:05:15 2019 +0200 @@ -70,7 +70,7 @@ int th_cfg_add_string(th_cfgitem_t **cfg, const char *name, char **data, char *defValue); int th_cfg_add_bool(th_cfgitem_t **cfg, const char *name, BOOL *data, BOOL defValue); int th_cfg_add_float(th_cfgitem_t **cfg, const char *name, float *data, float defValue); -int th_cfg_add_hexvalue(th_cfgitem_t **cfg, const char *name, int *data, int defValue); +int th_cfg_add_hexvalue(th_cfgitem_t **cfg, const char *name, unsigned int *data, unsigned int defValue); int th_cfg_add_string_list(th_cfgitem_t **cfg, const char *name, th_llist_t **list); th_cfgitem_t *th_cfg_find(th_cfgitem_t *cfg, const char *section, const char *name, const int type);