Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
xosview
xosview-1.9.2-float-conv.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xosview-1.9.2-float-conv.patch of Package xosview
--- linux/swapmeter.cc +++ linux/swapmeter.cc 2012-02-01 14:14:46.777933756 +0000 @@ -61,9 +61,9 @@ void SwapMeter::getswapinfo( void ){ unit = (sinfo.mem_unit ? sinfo.mem_unit : 1); - total_ = (double)sinfo.totalswap * unit; - fields_[0] = (double)(sinfo.totalswap - sinfo.freeswap) * unit; - fields_[1] = (double)sinfo.freeswap * unit; + total_ = (float)sinfo.totalswap * unit; + fields_[0] = (float)(sinfo.totalswap - sinfo.freeswap) * unit; + fields_[1] = (float)sinfo.freeswap * unit; if ( total_ == 0 ){ total_ = 1;
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