summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/print_util.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-05-01 16:54:54 +0000
committerBenny Prijono <bennylp@teluu.com>2007-05-01 16:54:54 +0000
commit682ee6718afa661df775bd44b4fdf89344ec67b2 (patch)
tree5949acca77d1ff14c50b1fc3b6d3a996539fe7d6 /pjsip/include/pjsip/print_util.h
parentb93717c9a39a0755f65df6b252b1e3506d7a42c8 (diff)
PJSDP port to Symbian
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1240 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip/print_util.h')
-rw-r--r--pjsip/include/pjsip/print_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/include/pjsip/print_util.h b/pjsip/include/pjsip/print_util.h
index 6fb6f7f1..c75b6e27 100644
--- a/pjsip/include/pjsip/print_util.h
+++ b/pjsip/include/pjsip/print_util.h
@@ -105,10 +105,10 @@ extern const pj_str_t pjsip_hdr_names[];
PJ_INLINE(void) init_hdr(void *hptr, pjsip_hdr_e htype, void *vptr)
{
- pjsip_hdr *hdr = hptr;
+ pjsip_hdr *hdr = (pjsip_hdr*) hptr;
hdr->type = htype;
hdr->name = hdr->sname = pjsip_hdr_names[htype];
- hdr->vptr = vptr;
+ hdr->vptr = (pjsip_hdr_vptr*) vptr;
pj_list_init(hdr);
}