Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
mdbtools
mdbtools-aliasingandendianness.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mdbtools-aliasingandendianness.patch of Package mdbtools
--- src/libmdb/data.c +++ src/libmdb/data.c @@ -387,11 +387,13 @@ g_ptr_array_index(pages, table->cur_pg_num-1), fmt->pg_size); } else if (table->strategy==MDB_INDEX_SCAN) { - - if (!mdb_index_find_next(table->mdbidx, table->scan_idx, table->chain, &pg, (guint16 *) &(table->cur_row))) { + guint16 tmp = (guint16)table->cur_row; + if (!mdb_index_find_next(table->mdbidx, table->scan_idx, table->chain, &pg, &tmp)) { + table->cur_row = tmp; mdb_index_scan_free(table); return 0; } + table->cur_row = tmp; mdb_read_pg(mdb, pg); } else { rows = mdb_get_int16(mdb->pg_buf,fmt->row_count_offset);
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