diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-09-24 21:16:48 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-09-24 21:16:48 +0000 |
commit | f05edf53d07c97c82a1f618f54904442a9efada4 (patch) | |
tree | 43d1a614a62900dcd57588da8e56be57c2a703f4 /pjnath/src/pjnath-test | |
parent | c326f938bbf72127885ac09179912b8a2cbfb030 (diff) |
Fixed several unit test failures: typecast error on C++ mode, SIP parsing, etc.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1451 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/src/pjnath-test')
-rw-r--r-- | pjnath/src/pjnath-test/stun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjnath/src/pjnath-test/stun.c b/pjnath/src/pjnath-test/stun.c index 29a8eb1a..32a31719 100644 --- a/pjnath/src/pjnath-test/stun.c +++ b/pjnath/src/pjnath-test/stun.c @@ -637,7 +637,7 @@ static int fingerprint_test_vector() } pos = cmp_buf(buf, (const pj_uint8_t*)v->pdu, len); - if (pos != -1) { + if (pos != (unsigned)-1) { PJ_LOG(1,(THIS_FILE, " Message mismatch at byte %d", pos)); rc = -1060; goto on_return; |