Back out r16619 (#492137) because it breaks test-lots

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16712 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2007-12-24 04:40:46 +00:00
parent 5115546ef8
commit 27fcf8ff7c

View File

@ -168,7 +168,7 @@ finder_helper (GNCLot *lot, gpointer user_data)
static inline GNCLot *
xaccAccountFindOpenLot (Account *acc, gnc_numeric sign,
gnc_commodity *currency,
gint64 guess,
guint64 guess,
gboolean (*date_pred)(Timespec, Timespec))
{
struct find_lot_s es;
@ -195,7 +195,7 @@ xaccAccountFindEarliestOpenLot (Account *acc, gnc_numeric sign,
sign.denom);
lot = xaccAccountFindOpenLot (acc, sign, currency,
G_MAXINT64, earliest_pred);
G_MAXUINT64, earliest_pred);
LEAVE ("found lot=%p %s baln=%s", lot, gnc_lot_get_title (lot),
gnc_num_dbg_to_string(gnc_lot_get_balance(lot)));
return lot;
@ -210,7 +210,7 @@ xaccAccountFindLatestOpenLot (Account *acc, gnc_numeric sign,
sign.num, sign.denom);
lot = xaccAccountFindOpenLot (acc, sign, currency,
G_MININT64, latest_pred);
0, latest_pred);
LEAVE ("found lot=%p %s", lot, gnc_lot_get_title (lot));
return lot;
}