mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix a bunch of 64-bit compile issues.
* src/engine/Transaction.c: * src/engine/test/test-date.c: * src/backend/file/test/test-dom-converters1.c: Fix 64-bit compile: Use G_GUINT64_FORMAT instead of %llu or lld for Timespec seconds. * src/app-utils/gnc-ui-util.c: Fix 64-bit compile issues: - Use QOF_SCANF_LLD instead of GNC_SCANF_LLD. - Use QOF_SCANF_LLD and G_GINT64_FORMAT properly. - replace %lld with G_GINT64_FORMAT git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13780 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1253,7 +1253,7 @@ xaccTransSetDateInternal(Transaction *trans, Timespec *dadate, Timespec val)
|
||||
{
|
||||
qof_begin_edit(QOF_INSTANCE(trans));
|
||||
|
||||
PINFO ("addr=%p set date to %llu.%09ld %s",
|
||||
PINFO ("addr=%p set date to %" G_GUINT64_FORMAT ".%09ld %s",
|
||||
trans, val.tv_sec, val.tv_nsec,
|
||||
ctime (({time_t secs = (time_t) val.tv_sec; &secs;})));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user