diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-25 11:31:09 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-25 11:31:09 +0000 |
commit | 3e658249f974a35985bcff9d86b73bdc15fe2dc8 (patch) | |
tree | 4f5706a8bc4091c1625f36223a4f6cf1cafed69d | |
parent | 9b0e09bc5ac72efb49945fd1d4fc2767baa1e916 (diff) |
Fixed gcc warning because of ticket #297
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1303 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjnath/src/pjstun-client/client_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjnath/src/pjstun-client/client_main.c b/pjnath/src/pjstun-client/client_main.c index 7395bd2b..c6ad5cf5 100644 --- a/pjnath/src/pjstun-client/client_main.c +++ b/pjnath/src/pjstun-client/client_main.c @@ -208,7 +208,7 @@ static int worker_thread(void *unused) if (rc != PJ_SUCCESS) { my_perror("Error decoding packet on peer sock", rc); } else { - pj_stun_msg_dump(msg, buffer, sizeof(buffer), NULL); + pj_stun_msg_dump(msg, (char*)buffer, sizeof(buffer), NULL); PJ_LOG(3,(THIS_FILE, "Received STUN packet on peer sock: %s", buffer)); } |