diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-06 22:00:12 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-06 22:00:12 +0000 |
commit | 3823a818922120d243cf335435e7f4adff07f3c4 (patch) | |
tree | 10787eaaea2fb819307aa94f6f35c118682a5467 /addons/ooh323c/src/ooh323.c | |
parent | f3e0c4020f365dee40c20da8ed5d80ab686bc72b (diff) |
Get chan_ooh323 to compile with gcc 4.2.
For some reason, the code compiles just fine with later versions
of GCC, but this one requires some weird double casting in order
to get rid of all warnings. Whatever.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228658 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons/ooh323c/src/ooh323.c')
-rw-r--r-- | addons/ooh323c/src/ooh323.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/ooh323c/src/ooh323.c b/addons/ooh323c/src/ooh323.c index 038b1a0cd..eaf60e334 100644 --- a/addons/ooh323c/src/ooh323.c +++ b/addons/ooh323c/src/ooh323.c @@ -2167,7 +2167,7 @@ int ooPopulatePrefixList(OOCTXT *pctxt, OOAliases *pAliases, memFreePtr(pctxt, pPrefixEntry); return OO_FAILED; } - strcpy((char*)pPrefixEntry->prefix.u.dialedDigits, pAlias->value); + strcpy(*(char**)pPrefixEntry->prefix.u.dialedDigits, pAlias->value); bValid = TRUE; break; default: @@ -2220,7 +2220,7 @@ int ooPopulateAliasList(OOCTXT *pctxt, OOAliases *pAliases, memFreePtr(pctxt, pAliasEntry); return OO_FAILED; } - strcpy((char*)pAliasEntry->u.dialedDigits, pAlias->value); + strcpy(*(char**)pAliasEntry->u.dialedDigits, pAlias->value); bValid = TRUE; break; case T_H225AliasAddress_h323_ID: @@ -2249,7 +2249,7 @@ int ooPopulateAliasList(OOCTXT *pctxt, OOAliases *pAliases, memFreePtr(pctxt, pAliasEntry); return OO_FAILED; } - strcpy((char*)pAliasEntry->u.url_ID, pAlias->value); + strcpy(*(char**)pAliasEntry->u.url_ID, pAlias->value); bValid = TRUE; break; case T_H225AliasAddress_email_ID: @@ -2262,7 +2262,7 @@ int ooPopulateAliasList(OOCTXT *pctxt, OOAliases *pAliases, "alias entry \n"); return OO_FAILED; } - strcpy((char*)pAliasEntry->u.email_ID, pAlias->value); + strcpy(*(char**)pAliasEntry->u.email_ID, pAlias->value); bValid = TRUE; break; default: |