aboutsummaryrefslogtreecommitdiffstats
path: root/alc/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/helpers.cpp')
-rw-r--r--alc/helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/helpers.cpp b/alc/helpers.cpp
index e86af6ce..7a547168 100644
--- a/alc/helpers.cpp
+++ b/alc/helpers.cpp
@@ -478,7 +478,7 @@ void al_print(FILE *logfile, const char *fmt, ...)
va_start(args, fmt);
va_copy(args2, args);
int msglen{std::vsnprintf(str, sizeof(stcmsg), fmt, args)};
- if(UNLIKELY(msglen >= 0 && static_cast<size_t>(msglen) >= sizeof(stcmsg)))
+ if UNLIKELY(msglen >= 0 && static_cast<size_t>(msglen) >= sizeof(stcmsg))
{
dynmsg.resize(static_cast<size_t>(msglen) + 1u);
str = dynmsg.data();