Kaydet (Commit) 92db3f7c authored tarafından David Tardon's avatar David Tardon

malloc returns void*; must be cast to real ptr type

Change-Id: Ic19707b99b1a53005ac319887219fc52b3e60e89
üst 8738ded7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment