summaryrefslogtreecommitdiff
path: root/test/testout.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testout.c')
-rw-r--r--test/testout.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testout.c b/test/testout.c
index 711db00..547f9d8 100644
--- a/test/testout.c
+++ b/test/testout.c
@@ -26,9 +26,9 @@
#include <test-defs.h>
-static void remove_end_newline(unsigned char *value)
+static void remove_end_newline(char *value)
{
- unsigned char *p = value + (strlen(value) - 1);
+ char *p = value + (strlen(value) - 1);
if (p != NULL && *p == '\n')
*p = '\0';
@@ -178,9 +178,9 @@ void show_class_device_list(struct dlist *devlist)
void show_list(struct dlist *list)
{
if (list != NULL) {
- unsigned char *name = NULL;
+ char *name = NULL;
- dlist_for_each_data(list, name, unsigned char)
+ dlist_for_each_data(list, name, char)
dbg_print("%s\n", name);
}
}