From b51f233bc5e304102a51949db1e235aafe283b8e Mon Sep 17 00:00:00 2001 From: ame Date: Fri, 5 Apr 2024 17:34:39 -0500 Subject: fix warnings --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index f8ab836..b63ca6e 100644 --- a/src/util.c +++ b/src/util.c @@ -59,7 +59,7 @@ char* strnstr(const char *s1, const char *s2, size_t n) { void _p_fatal(const char* m, int line, const char* file, const char* function){ fprintf(stderr, "%s[fatal] %s \n" - "\tthread: %i/%i\n" + "\tthread: %zu/%zu\n" "\tat: %s:%s(%i) %s\n",color_red, m, pthread_self(), threads, file, function, line, color_reset); exit(EXIT_FAILURE); } -- cgit v1.2.3