summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-10-29 10:03:58 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-10-29 10:03:58 +0000
commit42beacef87672c4e74885dc9ddfeb5a15d529b14 (patch)
treee7c06a8864b3fd19212c4a11dc2d58181deccd19
parentcd527af4c935731fc24724d8628751dce6d9c61e (diff)
compilation fix (by Robyer)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/SkypeClassic/src/debug.cpp2
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);
}