mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
more x86_64 fixes.
* src/backend/file/io-gncbin-r.c: Fixes for x86_64 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10283 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
17f09817c1
commit
2d0abc49fa
@ -1,6 +1,7 @@
|
|||||||
2004-09-28 Derek Atkins <derek@ihtfp.com>
|
2004-09-28 Derek Atkins <derek@ihtfp.com>
|
||||||
|
|
||||||
* src/engine/qofquerycore.c: Fix for x86_64.
|
* src/engine/qofquerycore.c: Fix for x86_64.
|
||||||
|
* src/backend/file/io-gncbin-r.c: Fixes for x86_64
|
||||||
|
|
||||||
2004-09-22 Christian Stimming <stimming@tuhh.de>
|
2004-09-22 Christian Stimming <stimming@tuhh.de>
|
||||||
|
|
||||||
|
@ -826,12 +826,12 @@ locateAccount (int acc_id, QofBook *book)
|
|||||||
|
|
||||||
/* first, see if we've already created the account */
|
/* first, see if we've already created the account */
|
||||||
acc = (Account *) g_hash_table_lookup(ids_to_finished_accounts,
|
acc = (Account *) g_hash_table_lookup(ids_to_finished_accounts,
|
||||||
(gconstpointer) acc_id);
|
GINT_TO_POINTER(acc_id));
|
||||||
if (acc) return acc;
|
if (acc) return acc;
|
||||||
|
|
||||||
/* next, see if its an unclaimed account */
|
/* next, see if its an unclaimed account */
|
||||||
acc = (Account *) g_hash_table_lookup(ids_to_unfinished_accounts,
|
acc = (Account *) g_hash_table_lookup(ids_to_unfinished_accounts,
|
||||||
(gconstpointer) acc_id);
|
GINT_TO_POINTER(acc_id));
|
||||||
if (acc) return acc;
|
if (acc) return acc;
|
||||||
|
|
||||||
/* if neither, then it does not yet exist. Create it.
|
/* if neither, then it does not yet exist. Create it.
|
||||||
@ -839,7 +839,7 @@ locateAccount (int acc_id, QofBook *book)
|
|||||||
acc = xaccMallocAccount (book);
|
acc = xaccMallocAccount (book);
|
||||||
xaccAccountBeginEdit(acc);
|
xaccAccountBeginEdit(acc);
|
||||||
g_hash_table_insert(ids_to_unfinished_accounts,
|
g_hash_table_insert(ids_to_unfinished_accounts,
|
||||||
(gpointer) acc_id,
|
GINT_TO_POINTER(acc_id),
|
||||||
(gpointer) acc);
|
(gpointer) acc);
|
||||||
return acc;
|
return acc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user