summaryrefslogtreecommitdiffstats
path: root/wsutil/feature_list.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /wsutil/feature_list.c
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-upstream.tar.xz
wireshark-upstream.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wsutil/feature_list.c')
-rw-r--r--wsutil/feature_list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wsutil/feature_list.c b/wsutil/feature_list.c
index f0c30d66..c06a453e 100644
--- a/wsutil/feature_list.c
+++ b/wsutil/feature_list.c
@@ -22,7 +22,7 @@ with_feature(feature_list l, const char *fmt, ...)
va_start(arg, fmt);
g_string_append_vprintf(msg, fmt, arg);
va_end(arg);
- *l = g_list_prepend(*l, g_string_free(msg, false));
+ *l = g_list_prepend(*l, g_string_free(msg, FALSE));
}
void
@@ -33,11 +33,11 @@ without_feature(feature_list l, const char *fmt, ...)
va_start(arg, fmt);
g_string_append_vprintf(msg, fmt, arg);
va_end(arg);
- *l = g_list_prepend(*l, g_string_free(msg, false));
+ *l = g_list_prepend(*l, g_string_free(msg, FALSE));
}
static int
-feature_sort_alpha(gconstpointer a, gconstpointer b)
+feature_sort_alpha(const void *a, const void *b)
{
return g_ascii_strcasecmp((char *)a + 1, (char *)b + 1);
}