فهرست منبع

modules_s/acc_radius: fix compilation warning

root 15 سال پیش
والد
کامیت
3cf12697b6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      modules_s/acc_radius/acc_radius.c

+ 1 - 1
modules_s/acc_radius/acc_radius.c

@@ -269,7 +269,7 @@ static int get_direction(struct sip_msg* msg)
 				return -1;
 			}
 		        ret = check_ftag(msg, &((rr_t*)msg->route->parsed)->nameaddr.uri);
-			if (msg->route->parsed) free_rr((rr_t**)&msg->route->parsed);
+			if (msg->route->parsed) free_rr((rr_t**)(void*)&msg->route->parsed);
 			return ret;
 		} else {
 			DBG("No Route headers found\n");