From a7cdedf82bb34966cf9a89368e82fd4fa559c341 Mon Sep 17 00:00:00 2001 From: jyelon Date: Tue, 22 Mar 2022 12:24:02 -0400 Subject: [PATCH] fix bug in use of PRId64 --- luprex/core/cpp/printbuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luprex/core/cpp/printbuffer.cpp b/luprex/core/cpp/printbuffer.cpp index ef823390..55d029fb 100644 --- a/luprex/core/cpp/printbuffer.cpp +++ b/luprex/core/cpp/printbuffer.cpp @@ -191,7 +191,7 @@ bool PrintChanneler::channel(const PrintBuffer *printbuffer, std::ostream &ostre Invocation PrintChanneler::invocation(int64_t actor_id) { char buf[80]; - sprintf(buf, PRId64, line_); + sprintf(buf, "%" PRId64, line_); return Invocation(Invocation::KIND_FLUSH_PRINTS, actor_id, actor_id, buf, InvocationData()); }