mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
make cast unnecessary
This commit is contained in:
parent
678d79e6fe
commit
5aaac61f4e
@ -591,7 +591,7 @@ int update_net_stats(void)
|
||||
lastv6 = lastv6->next;
|
||||
}
|
||||
for(int i=0; i<16; i++)
|
||||
sscanf(v6addr+2*i, "%2x", (unsigned int*) &(lastv6->addr.s6_addr[i]));
|
||||
sscanf(v6addr+2*i, "%2hhx", &(lastv6->addr.s6_addr[i]));
|
||||
lastv6->netmask = netmask;
|
||||
switch(scope) {
|
||||
case 0: //global
|
||||
|
Loading…
Reference in New Issue
Block a user