Use G_GINT64_FORMAT instead of %lld for x86_64

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17498 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2008-09-06 18:13:32 +00:00
parent 38d8ce62aa
commit 1d32da84d5

View File

@ -2140,7 +2140,7 @@ gnc_sql_get_sql_value( const GncSqlConnection* conn, const GValue* value )
return g_strdup( "NULL" ); return g_strdup( "NULL" );
} }
} else if( type == G_TYPE_INT64 ) { } else if( type == G_TYPE_INT64 ) {
return g_strdup_printf( "%lld", g_value_get_int64( value ) ); return g_strdup_printf( "%" G_GINT64_FORMAT, g_value_get_int64( value ) );
} else if( type == G_TYPE_INT ) { } else if( type == G_TYPE_INT ) {
return g_strdup_printf( "%d", g_value_get_int( value ) ); return g_strdup_printf( "%d", g_value_get_int( value ) );