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*,而這裏使用
相關文章
相關標籤/搜索