aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-04-05 17:34:39 -0500
committerame <[email protected]>2024-04-05 17:34:39 -0500
commitf5d49966a4faa3bfff25e7bdeb262c2d9853cd3a (patch)
tree25b83526a8c8b057cf9493542fb650ead921d9f3 /src/util.c
parent7e6d58c143e1f3b1384ca2e798825ff3ed9469ec (diff)
fix warnings
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
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);
}