Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
kdeutils3
kdeutils-3.5.10-gcc6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdeutils-3.5.10-gcc6.patch of Package kdeutils3
Index: kdeutils-3.5.10/khexedit/lib/kbigbuffer.cpp =================================================================== --- kdeutils-3.5.10.orig/khexedit/lib/kbigbuffer.cpp +++ kdeutils-3.5.10/khexedit/lib/kbigbuffer.cpp @@ -17,6 +17,7 @@ // c specific #include <stdlib.h> +#include <cmath> // lib specific #include "kbigbuffer.h" @@ -170,7 +171,7 @@ bool KBigBuffer::ensurePageLoaded( unsig if( NoOfFreePages < 1 ) { // free the page which is the furthest away from the page we are loading - if( abs(FirstPage-PageIndex) > abs(LastPage-PageIndex) ) + if( std::abs(FirstPage-PageIndex) > std::abs(LastPage-PageIndex) ) while( !freePage(FirstPage++) ); else while( !freePage(LastPage--) );
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