mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix some compiler warnings (#15596)
This commit is contained in:
parent
d2a7875b5b
commit
412cc96bc9
7 changed files with 12 additions and 19 deletions
|
@ -105,7 +105,7 @@ void AndroidLogOutput::logRaw(LogLevel lev, std::string_view line)
|
|||
static_assert(ARRLEN(g_level_to_android) == LL_MAX,
|
||||
"mismatch between android and internal loglevels");
|
||||
__android_log_print(g_level_to_android[lev], PROJECT_NAME_C, "%.*s",
|
||||
line.size(), line.data());
|
||||
static_cast<int>(line.size()), line.data());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue