summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/LoggerListeners.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LoggerListeners.cpp b/src/LoggerListeners.cpp
index 24a4e5d45..b7c8fbb38 100644
--- a/src/LoggerListeners.cpp
+++ b/src/LoggerListeners.cpp
@@ -21,7 +21,7 @@
virtual void Log(std::string_view a_Message, eLogLevel a_LogLevel) override
{
SetLogColour(a_LogLevel);
- fwrite(a_Message.data(), 1, a_Message.size(), stdout);
+ fwrite(a_Message.data(), sizeof(char), a_Message.size(), stdout);
SetDefaultLogColour();
}
};
@@ -186,7 +186,7 @@ public:
break;
}
}
- fwrite(a_Message.data(), 1, a_Message.size(), stdout);
+ fwrite(a_Message.data(), sizeof(char), a_Message.size(), stdout);
}
};