A few fixes for compilation errors due to recent address environment fixes

This commit is contained in:
Gregory Nutt
2014-08-22 15:55:00 -06:00
parent f7899c655a
commit e79d6e3c8b
7 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -270,8 +270,8 @@ int pthread_create(FAR pthread_t *thread, FAR pthread_attr_t *attr,
#ifdef CONFIG_ADDRENV
/* Share the address environment of the parent task group. */
ret = up_addrenv_attach(ptcb->group,
(FAR const struct tcb_s *)g_readytorun.head);
ret = up_addrenv_attach(ptcb->cmn.group,
(FAR struct tcb_s *)g_readytorun.head);
if (ret < 0)
{
errcode = -ret;