Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
palm-db-tools
palm-db-tools-0.3.6-type-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File palm-db-tools-0.3.6-type-fix.diff of Package palm-db-tools
--- libflatfile/DB.cpp +++ libflatfile/DB.cpp @@ -511,7 +511,8 @@ f.type = PalmLib::FlatFile::Field::LIST; if (!field(j).argument().empty()) { std::string data = field(j).argument(); - unsigned int k, pos = 0; + unsigned int k; + std::string::size_type pos = 0; pi_uint16_t itemID = *ptrs[j]; // TR: a list value is stored on 1 byte for (k = 0; k < itemID; k++) { @@ -716,7 +717,8 @@ case PalmLib::FlatFile::Field::LIST: if (!field(i).argument().empty()) { std::string data = field(i).argument(); - unsigned int pos = 0, next, j = 0; + unsigned int j = 0; + std::string::size_type pos = 0, next; pi_int16_t itemID = -1; while ( (next = data.find(charSeperator, pos)) != std::string::npos) { @@ -920,7 +922,7 @@ if (!field(i).argument().empty()) { std::string data = field(i).argument(); std::vector<std::string> items; - unsigned int pos = 0, next; + std::string::size_type pos = 0, next; std::vector<std::string>::iterator iter; size = 2 + 2 * sizeof(pi_uint16_t); while ( (next = data.find(charSeperator, pos)) != std::string::npos) {
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