mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 16:33:32 -05:00
fix build error on gcc 9.3.0
FileLogWriter.h:34:41: error: array used as initializer
This commit is contained in:
@@ -42,9 +42,9 @@ public:
|
||||
|
||||
private:
|
||||
# ifdef XMRIG_OS_WIN
|
||||
char m_endl[3] = "\r\n";
|
||||
const char m_endl[3] = {'\r', '\n', 0};
|
||||
# else
|
||||
char m_endl[2] = "\n";
|
||||
const char m_endl[2] = {'\n', 0};
|
||||
# endif
|
||||
|
||||
int m_file = -1;
|
||||
|
||||
Reference in New Issue
Block a user