fixed warning

This commit is contained in:
badaix 2016-09-19 09:16:55 +02:00
parent e50775aca8
commit 010e797e1d

View file

@ -282,7 +282,7 @@ static std::string getMacAddress(int sock)
return ""; return "";
struct ifreq* it = ifc.ifc_req; struct ifreq* it = ifc.ifc_req;
for (size_t i=0; i<ifc.ifc_len;) for (int i=0; i<ifc.ifc_len;)
{ {
/// some systems have ifr_addr.sa_len and adjust the length that way, but not mine. weird */ /// some systems have ifr_addr.sa_len and adjust the length that way, but not mine. weird */
#ifdef FREEBSD #ifdef FREEBSD