You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cgdcbxd.c:358]: (warning) Size of pointer 'ifname' used instead of size of its data.
cgdcbxd.c:358:45: warning: 'strncmp' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
cgdcbxd.c:358:44: warning: argument to 'sizeof' in 'strncmp' call is the same expression as the first source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
if (strncmp(ifname, iface->ifname, sizeof(ifname)) == 0)
The text was updated successfully, but these errors were encountered:
[cgdcbxd.c:358]: (warning) Size of pointer 'ifname' used instead of size of its data.
cgdcbxd.c:358:45: warning: 'strncmp' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
cgdcbxd.c:358:44: warning: argument to 'sizeof' in 'strncmp' call is the same expression as the first source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
The text was updated successfully, but these errors were encountered: