diff options
author | Mark Michelson <mmichelson@digium.com> | 2009-11-06 22:00:12 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2009-11-06 22:00:12 +0000 |
commit | fbe477ea501ae82c8b9252d0a842e4ec3698bf41 (patch) | |
tree | 10787eaaea2fb819307aa94f6f35c118682a5467 /addons/ooh323c/src/ooh245.c | |
parent | 97de30df8f0bab2da0a38a0d913755ce12f0f8db (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: https://origsvn.digium.com/svn/asterisk/trunk@228658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'addons/ooh323c/src/ooh245.c')
-rw-r--r-- | addons/ooh323c/src/ooh245.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/ooh323c/src/ooh245.c b/addons/ooh323c/src/ooh245.c index 034c3dd02..c8aad5d17 100644 --- a/addons/ooh323c/src/ooh245.c +++ b/addons/ooh323c/src/ooh245.c @@ -3201,7 +3201,7 @@ int ooSendH245UserInputIndication_alphanumeric ooFreeH245Message(call, ph245msg); return OO_FAILED; } - strcpy((char*)indication->u.userInput->u.alphanumeric, data); + strcpy(*(char**)indication->u.userInput->u.alphanumeric, data); OOTRACEDBGA3 ("Built UserInputIndication_alphanumeric (%s, %s)\n", call->callType, call->callToken); @@ -3264,7 +3264,7 @@ int ooSendH245UserInputIndication_signal ooFreeH245Message(call, ph245msg); return OO_FAILED; } - strcpy((char*)indication->u.userInput->u.signal->signalType, data); + strcpy(*(char**)indication->u.userInput->u.signal->signalType, data); OOTRACEDBGA3 ("Built UserInputIndication_signal (%s, %s)\n", call->callType, call->callToken); |