Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:1-MinimalX
dmidecode
dmidecode-1.173-drop-cast.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dmidecode-1.173-drop-cast.patch of Package dmidecode
Subject: Drop unneeded and possibly dangerous cast Upstream: yes, 1.173 --- dmidecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- dmidecode-2.12.orig/dmidecode.c +++ dmidecode-2.12/dmidecode.c @@ -2236,7 +2236,7 @@ static void dmi_memory_voltage_value(u16 if (code == 0) printf(" Unknown"); else - printf(" %.3f V", (float)(i16)code / 1000); + printf(" %.3f V", (float)code / 1000); } static const char *dmi_memory_device_form_factor(u8 code)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor