Module: sems
Branch: 1.6
Commit: 18bed901c022283b4ec23bb1b6a788008ba34d63
URL: 
https://github.com/sems-server/sems/commit/18bed901c022283b4ec23bb1b6a788008ba34d63

Author: Stefan Sayer <stefan.sa...@googlemail.com>
Committer: Juha Heinanen <j...@tutpro.com>
Date: 2015-11-05T12:15:20+02:00

b/f:dsm:explicitely cast pointer in AmArg initialization

(cherry picked from commit 0a061366a877f09b6936593eb2cfdb720cba9746)

---

Modified: apps/dsm/DSMCall.cpp

---

Diff:  
https://github.com/sems-server/sems/commit/18bed901c022283b4ec23bb1b6a788008ba34d63.diff
Patch: 
https://github.com/sems-server/sems/commit/18bed901c022283b4ec23bb1b6a788008ba34d63.patch

---

diff --git a/apps/dsm/DSMCall.cpp b/apps/dsm/DSMCall.cpp
index 886435c..f58e868 100644
--- a/apps/dsm/DSMCall.cpp
+++ b/apps/dsm/DSMCall.cpp
@@ -109,7 +109,7 @@ void DSMCall::onInvite(const AmSipRequest& req) {
     
   bool run_session_invite = engine.onInvite(req, this);
 
-  avar[DSM_AVAR_REQUEST] = AmArg(&req);
+  avar[DSM_AVAR_REQUEST] = AmArg((AmObject*)&req);
 
   DBG("before runEvent(this, this, DSMCondition::Invite);\n");
   AmSipDialog::Status old_st = dlg->getStatus();

_______________________________________________
Semsdev mailing list
Semsdev@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to