We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 461e83a commit 364e034Copy full SHA for 364e034
2 files changed
src/constants.cc
@@ -85,7 +85,7 @@ int64_t Constants::LoadConstant(const char* name, int64_t def) {
85
auto constant =
86
Constants::LookupConstant(target_, (constant_prefix() + name).c_str());
87
if (!constant.Check()) {
88
- PRINT_DEBUG("Failed to load constant %s, default to %" PRId64, name);
+ PRINT_DEBUG("Failed to load constant %s, default to %" PRId64, name, def);
89
return def;
90
}
91
src/error.cc
@@ -22,7 +22,7 @@ void Error::PrintInDebugMode(const char* file, int line, const char* funcname,
22
return;
23
24
char fmt[kMaxMessageLength];
25
- snprintf(fmt, sizeof(fmt), "[llnode][%s %s:%lld] %s\n", funcname, file, line,
+ snprintf(fmt, sizeof(fmt), "[llnode][%s %s:%d] %s\n", funcname, file, line,
26
format);
27
va_list arglist;
28
va_start(arglist, format);
0 commit comments