diff --git a/source/eventcore/drivers/posix/watchers.d b/source/eventcore/drivers/posix/watchers.d index ccc485e..ee973f2 100644 --- a/source/eventcore/drivers/posix/watchers.d +++ b/source/eventcore/drivers/posix/watchers.d @@ -402,7 +402,8 @@ final class PollEventDriverWatchers(Events : EventDriverEvents) : EventDriverWat import core.stdc.stdio : fprintf, stderr; import core.stdc.stdlib : abort; - fprintf(stderr, "Fatal error: %.*s\n", th.msg.length, th.msg.ptr); + fprintf(stderr, "Fatal error: %.*s\n", + cast(int) th.msg.length, th.msg.ptr); abort(); } }