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

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Fri Mar  1 11:26:40 2013 +0100

c/f: return value of skip_name() is signed, size_t is not.

---

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

diff --git a/core/AmUriParser.cpp b/core/AmUriParser.cpp
index afd28dd..4ce8efe 100644
--- a/core/AmUriParser.cpp
+++ b/core/AmUriParser.cpp
@@ -370,7 +370,7 @@ bool AmUriParser::parse_params(const string& line, int& 
pos) {
 
 
 bool AmUriParser::parse_contact(const string& line, size_t pos, size_t& end) {
-  size_t p0 = skip_name(line, pos);
+  int p0 = skip_name(line, pos);
   if (p0 < 0) { return false; }
   if ((size_t)p0 > pos) {
     // save display name

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

Reply via email to