sal/osl/unx/mutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 92db3f7c397ba5508daa386e19caf2b1661ec4b4 Author: David Tardon <dtar...@redhat.com> Date: Thu Sep 26 13:04:23 2013 +0200 malloc returns void*; must be cast to real ptr type Change-Id: Ic19707b99b1a53005ac319887219fc52b3e60e89 diff --git a/sal/osl/unx/mutex.c b/sal/osl/unx/mutex.c index b894758..b2afa29 100644 --- a/sal/osl/unx/mutex.c +++ b/sal/osl/unx/mutex.c @@ -42,7 +42,7 @@ typedef struct _oslMutexImpl /*****************************************************************************/ oslMutex SAL_CALL osl_createMutex() { - oslMutexImpl* pMutex = malloc(sizeof(oslMutexImpl)); + oslMutexImpl* pMutex = (oslMutexImpl*) malloc(sizeof(oslMutexImpl)); pthread_mutexattr_t aMutexAttr; int nRet=0; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits