A few fixes to make it compile under windows again
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
#include <cinttypes>
|
||||
|
||||
struct PrintBufferCore : public eng::opnew {
|
||||
// The most recent lines printed.
|
||||
@@ -190,7 +191,7 @@ bool PrintChanneler::channel(const PrintBuffer *printbuffer, std::ostream &ostre
|
||||
|
||||
Invocation PrintChanneler::invocation(int64_t actor_id) {
|
||||
char buf[80];
|
||||
sprintf(buf, "%ld", line_);
|
||||
sprintf(buf, PRId64, line_);
|
||||
return Invocation(Invocation::KIND_FLUSH_PRINTS, actor_id, actor_id, buf, InvocationData());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user