Merge pull request #143 from Geod24/deprecations
Fix a printf format deprecation triggered by 2.092
This commit is contained in:
commit
768c6cf4c8
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue