Skip to content

Commit

Permalink
Fix another linux machineGUID error
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Mar 3, 2018
1 parent 6012920 commit c880bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StageStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void getMacHash(uint16_t& mac1, uint16_t& mac2)
// get MAC address
bool foundMac1 = false;
struct ifreq* ifr;
for (ifr = conf.ifc_req; (s8*)ifr < (s8*)conf.ifc_req + conf.ifc_len; ifr++)
for (ifr = conf.ifc_req; (signed char*)ifr < (signed char*)conf.ifc_req + conf.ifc_len; ifr++)
{
if (ifr->ifr_addr.sa_data == (ifr + 1)->ifr_addr.sa_data)
continue; // duplicate, skip it
Expand Down

0 comments on commit c880bfb

Please sign in to comment.