Misc fix (ticket #838): compilation warning when int is not typecasted to pjsip_transport_type_e enum


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2766 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/src/pjsip/sip_util.c b/pjsip/src/pjsip/sip_util.c
index 66aa463..01948a5 100644
--- a/pjsip/src/pjsip/sip_util.c
+++ b/pjsip/src/pjsip/sip_util.c
@@ -810,7 +810,8 @@
     if (dest_info->type != PJSIP_TRANSPORT_UNSPECIFIED && 
 	pj_strchr(&dest_info->addr.host, ':'))
     {
-	dest_info->type |= PJSIP_TRANSPORT_IPV6;
+	dest_info->type = (pjsip_transport_type_e)
+			  ((int)dest_info->type | PJSIP_TRANSPORT_IPV6);
     }
 
     return PJ_SUCCESS;