Răsfoiți Sursa

parser/sdp: fix some compile warnings

root 15 ani în urmă
părinte
comite
cd999eae20
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      parser/sdp/sdp.c

+ 2 - 2
parser/sdp/sdp.c

@@ -694,7 +694,7 @@ int parse_sdp(struct sip_msg* _m)
 			res = parse_sdp_session(&body, 0, NULL, (sdp_info_t*)_m->body);
 			if (res != 0) {
 				LM_DBG("free_sdp\n");
-				free_sdp((sdp_info_t**)&_m->body);
+				free_sdp((sdp_info_t**)(void*)&_m->body);
 			}
 			return res;
 			break;
@@ -716,7 +716,7 @@ int parse_sdp(struct sip_msg* _m)
 				}
 				res = parse_mixed_content(&body, mp_delimiter, (sdp_info_t*)_m->body);
 				if (res != 0) {
-					free_sdp((sdp_info_t**)&_m->body);
+					free_sdp((sdp_info_t**)(void*)&_m->body);
 				}
 				return res;
 			} else {