Module: sems
Branch: master
Commit: 81ad85075978aafb40a9582587154fce447bdd74
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=81ad85075978aafb40a9582587154fce447bdd74

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Wed Dec 15 01:11:14 2010 +0100

make the compiler happy on 64 bits

---

 core/AmSdp.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/AmSdp.cpp b/core/AmSdp.cpp
index 97df11f..6ff9bcc 100644
--- a/core/AmSdp.cpp
+++ b/core/AmSdp.cpp
@@ -825,12 +825,12 @@ static void parse_session_attr(AmSdp* sdp_msg, char* s, 
char** next) {
   if (col == attr_end) {
     // property attribute
     sdp_msg->attributes.push_back(SdpAttribute(string(s, attr_end-s+1)));
-    DBG("got session attribute '%.*s\n", attr_end-s+1, s);
+    DBG("got session attribute '%.*s\n", (int)(attr_end-s+1), s);
   } else {
     // value attribute
     sdp_msg->attributes.push_back(SdpAttribute(string(s, col-s-1),
                                               string(col, attr_end-col+1)));
-    DBG("got session attribute '%.*s:%.*s'\n", col-s-1, s, attr_end-col+1, 
col);
+    DBG("got session attribute '%.*s:%.*s'\n", (int)(col-s-1), s, 
(int)(attr_end-col+1), col);
 
   }
 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to