summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/misc.c2
-rw-r--r--apps/misc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 65688024cc..bca66dcb54 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -1232,7 +1232,7 @@ int hex_to_rgb(const char* hex, int* color)
1232/* '0'-'3' are ASCII 0x30 to 0x33 */ 1232/* '0'-'3' are ASCII 0x30 to 0x33 */
1233#define is0123(x) (((x) & 0xfc) == 0x30) 1233#define is0123(x) (((x) & 0xfc) == 0x30)
1234 1234
1235const char* parse_list(const char *fmt, unsigned int *set_vals, 1235const char* parse_list(const char *fmt, uint32_t *set_vals,
1236 const char sep, const char* str, ...) 1236 const char sep, const char* str, ...)
1237{ 1237{
1238 va_list ap; 1238 va_list ap;
diff --git a/apps/misc.h b/apps/misc.h
index d0edb3dcd1..8394a6396a 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -136,7 +136,7 @@ char *strip_extension(char* buffer, int buffer_size, const char *filename);
136 * - valid_vals: value after the call to 'parse_list' 136 * - valid_vals: value after the call to 'parse_list'
137 */ 137 */
138#define LIST_VALUE_PARSED(setvals, position) ((setvals)&(1<<(position))) 138#define LIST_VALUE_PARSED(setvals, position) ((setvals)&(1<<(position)))
139const char* parse_list(const char *fmt, unsigned int *set_vals, 139const char* parse_list(const char *fmt, uint32_t *set_vals,
140 const char sep, const char* str, ...); 140 const char sep, const char* str, ...);
141 141
142#endif /* MISC_H */ 142#endif /* MISC_H */