diff th_config.c @ 497:ff3ebe22f6c5

Change int th_get_hex_triplet(const char *str) API to BOOL th_get_hex_triplet(const char *str, unsigned int *value).
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Dec 2019 11:00:51 +0200
parents 85fa3d333556
children 1dbd9259c3b8
line wrap: on
line diff
--- a/th_config.c	Wed Dec 25 08:38:11 2019 +0200
+++ b/th_config.c	Wed Dec 25 11:00:51 2019 +0200
@@ -507,7 +507,7 @@
                 switch (item->type)
                 {
                 case ITEM_HEX_TRIPLET:
-                    *(item->v.val_int) = th_get_hex_triplet(tmpStr);
+                    th_get_hex_triplet(tmpStr, item->v.val_uint);
                     prevMode = parseMode;
                     parseMode = PM_IDLE;
                     break;