From 54a0e50fe3f76c58126f6f779e6a8bf19cb89027 Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 21 Oct 2015 00:18:51 +1100 Subject: [PATCH] Try to fix linux compilation. --- src/network/stk_host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/stk_host.cpp b/src/network/stk_host.cpp index db75b2849..1d1641ec7 100644 --- a/src/network/stk_host.cpp +++ b/src/network/stk_host.cpp @@ -108,7 +108,7 @@ void STKHost::logPacket(const NetworkString &ns, bool incoming) if (m_log_file.getData() == NULL) // read only access, no need to lock return; - char *arrow = incoming ? "<--" : "-->"; + const char *arrow = incoming ? "<--" : "-->"; m_log_file.lock(); fprintf(m_log_file.getData(), "[%d\t] %s ",