rev 325 - trunk/src
SVN User <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bcollins
Date: 2004-04-11 00:27:02 -0400 (Sun, 11 Apr 2004)
New Revision: 325
Modified:
trunk/src/builtins-thread.c
Log:
Fix invalid lvalue.
Modified: trunk/src/builtins-thread.c
===================================================================
--- trunk/src/builtins-thread.c 2004-04-11 04:25:52 UTC (rev 324)
+++ trunk/src/builtins-thread.c 2004-04-11 04:27:02 UTC (rev 325)
@@ -323,7 +323,7 @@
aprerr = apr_pool_create(&subpool, get_pr_head_pool());
IF_APR_ERR("out of memory creating mutex") return NULL;
self->data_type = OBJ_TYPE_DATAPTR;
- aprerr = apr_thread_mutex_create(&((apr_thread_mutex_t*)(self->data.ptr)), APR_THREAD_MUTEX_UNNESTED, subpool);
+ aprerr = apr_thread_mutex_create((apr_thread_mutex_t**)(&self->data.ptr), APR_THREAD_MUTEX_UNNESTED, subpool);
IF_APR_ERR("error creating mutex in apr_thread_mutex_create") return NULL;
return OBJ(NONE);
}