From 42beacef87672c4e74885dc9ddfeb5a15d529b14 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 29 Oct 2013 10:03:58 +0000 Subject: compilation fix (by Robyer) git-svn-id: http://svn.miranda-ng.org/main/trunk@6675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeClassic/src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/SkypeClassic/src/debug.cpp') 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); } -- cgit v1.2.3