diff options
Diffstat (limited to 'protocols/SkypeClassic/src/debug.cpp')
-rw-r--r-- | protocols/SkypeClassic/src/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeClassic/src/debug.cpp b/protocols/SkypeClassic/src/debug.cpp index a5d7067e8e..beb19c6db6 100644 --- a/protocols/SkypeClassic/src/debug.cpp +++ b/protocols/SkypeClassic/src/debug.cpp @@ -30,7 +30,7 @@ void init_debug(void) { p=logfile+GetModuleFileNameA(NULL, logfile, sizeof(logfile));
if (!(p=strrchr (logfile, '\\'))) p=logfile; else p++;
sprintf (p, "%s_log.txt", SKYPE_PROTONAME);
- m_szLogBuf = calloc (1, (m_iBufSize = INITBUF));
+ m_szLogBuf = (char*)calloc (1, (m_iBufSize = INITBUF));
m_fpLogFile = fopen(logfile, "a");
InitializeCriticalSection(&m_WriteFileMutex);
}
|