mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix printf conversion specifier of 64 bit integers in message.
(Also, fix compiler warning about && and ||). git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20161 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d912e8a320
commit
04cafacf3f
@ -2895,13 +2895,13 @@ conn_test_dbi_library( dbi_conn conn )
|
||||
}
|
||||
if ( testlonglong != resultlonglong )
|
||||
{
|
||||
PWARN( "Test_DBI_Library: LongLong Failed %lld != %lld",
|
||||
PWARN( "Test_DBI_Library: LongLong Failed %" G_GINT64_FORMAT " != % " G_GINT64_FORMAT,
|
||||
testlonglong, resultlonglong );
|
||||
retval = FALSE;
|
||||
}
|
||||
if ( testulonglong != resultulonglong )
|
||||
{
|
||||
PWARN( "Test_DBI_Library: Unsigned longlong Failed %llu != %llu",
|
||||
PWARN( "Test_DBI_Library: Unsigned longlong Failed %" G_GUINT64_FORMAT " != %" G_GUINT64_FORMAT,
|
||||
testulonglong, resultulonglong );
|
||||
retval = FALSE;
|
||||
}
|
||||
|
@ -827,8 +827,8 @@ gnc_post_file_open (const char * filename)
|
||||
* want it to) be updated or it's too new. Mark it as
|
||||
* read-only
|
||||
*/
|
||||
if (uh_oh && io_err == ERR_SQL_DB_TOO_OLD ||
|
||||
io_err == ERR_SQL_DB_TOO_NEW)
|
||||
if (uh_oh && (io_err == ERR_SQL_DB_TOO_OLD ||
|
||||
io_err == ERR_SQL_DB_TOO_NEW))
|
||||
{
|
||||
qof_book_mark_readonly(qof_session_get_book(new_session));
|
||||
uh_oh = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user