C: assignment discards qualifiers from pointer target type

C: assignment discards qualifiers from pointer target type 2010年05月20日 星期四 13:09 这个warning说明,返回值是一个const的类型,而你声明使用的那个变量不是const,场景以下: u_char *p = pcap_next(**, **); 由于pcap_next返回的是一个const u_char*,而这里使用
相关文章
相关标签/搜索