diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-01-30 16:09:08 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-01-30 16:09:08 +0100 |
commit | 4e3e79dc7d06310cf056354dd789f5da1e17693a (patch) | |
tree | f2b885520994cbdb83d3189db382932d06308fe3 /common | |
parent | 39b3b8f5752e3ffe140f78e054ba60aedf5d88ed (diff) | |
download | tigervnc-4e3e79dc7d06310cf056354dd789f5da1e17693a.tar.gz tigervnc-4e3e79dc7d06310cf056354dd789f5da1e17693a.zip |
Make the calls to va_list logging functions more explicit
On some platforms va_list might be defined as something that causes
ambiguity and results in the wrong function being called.
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/LogWriter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/LogWriter.h b/common/rfb/LogWriter.h index 6b85a85c..c3bb2b06 100644 --- a/common/rfb/LogWriter.h +++ b/common/rfb/LogWriter.h @@ -36,7 +36,7 @@ // is assigned a particular log level. #define DEF_LOGFUNCTION(name, level) \ - inline void name(const char* fmt, va_list ap) { \ + inline void v##name(const char* fmt, va_list ap) { \ if (m_log && (level <= m_level)) \ m_log->write(level, m_name, fmt, ap);\ } \ |