From af6b68fa9b28b57a6f136da75f196f0ff97ccaac Mon Sep 17 00:00:00 2001 From: Dane MacFadden Date: Tue, 15 Jul 2025 12:38:23 -0600 Subject: [PATCH] cast to string --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 40cdea5..68d859f 100644 --- a/main.c +++ b/main.c @@ -79,7 +79,7 @@ void *output(void *arg) { ListFirst(receivelist); strcpy(msg, ListCurr(receivelist)); ListRemove(receivelist); - printf("%s\n", msg); + printf("%s\n", (char*)msg); } pthread_mutex_unlock(&receivemut); }