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
myfile.cpp: In function 'std::string smbios3_decode(u8*, const char*, u32)':
myfile.cpp:474:39: warning: left shift count >= width of type [-Wshift-count-overflow]
return dmi_table(((off_t)offset.h << 32) | offset.l,
^
That seems like it could be a problem. What do you guys think?
The text was updated successfully, but these errors were encountered:
Hey,
I get a warning for this line:
https://github.com/mirror/dmidecode/blob/master/dmidecode.c#L4835-L4836
When compiling on a x86 machine:
myfile.cpp: In function 'std::string smbios3_decode(u8*, const char*, u32)':
myfile.cpp:474:39: warning: left shift count >= width of type [-Wshift-count-overflow]
return dmi_table(((off_t)offset.h << 32) | offset.l,
^
That seems like it could be a problem. What do you guys think?
The text was updated successfully, but these errors were encountered: