[libgda/LIBGDA_4.2] Virtual connection: correction for big endian platforms
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_4.2] Virtual connection: correction for big endian platforms
- Date: Thu, 28 Apr 2011 20:15:25 +0000 (UTC)
commit 2b2aeff90a4c9eee32cb26452c9ac4f80a845f78
Author: Vivien Malerba <malerba gnome-db org>
Date: Thu Apr 28 21:56:02 2011 +0200
Virtual connection: correction for big endian platforms
use g_int64_hash() instead of g_int_hash()
libgda/sqlite/virtual/gda-vprovider-data-model.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index 61a8098..02a5807 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -696,7 +696,7 @@ virtualRowid (sqlite3_vtab_cursor *cur, sqlite_int64 *pRowid)
*pRowid = gda_data_model_iter_get_row (cursor->iter);
if (! vtable->rowid_hash || (vtable->rowid_hash_model == vtable->td->real_model)) {
if (! vtable->rowid_hash) {
- vtable->rowid_hash = g_hash_table_new_full (g_int_hash, g_int_equal,
+ vtable->rowid_hash = g_hash_table_new_full (g_int64_hash, g_int64_equal,
g_free,
(GDestroyNotify) g_object_unref);
vtable->rowid_hash_model = vtable->td->real_model;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]