Commit 3460b7c7 authored by Bastien Nocera's avatar Bastien Nocera Committed by W. Michael Petullo

tests: Fix compilation due to wrong formats

On a 64-bit system, with gcc 6.0:
format ‘%lld’ expects argument of type ‘long long int’, but argument 4
has type ‘gint64 {aka long int}’

https://bugzilla.gnome.org/show_bug.cgi?id=766721Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent eafa2c75
......@@ -27,7 +27,7 @@ private class DPAPCopy {
private ValaDPAPRecordFactory factory;
private bool connected_cb (DMAP.Connection connection, bool result, string? reason) {
GLib.debug ("%lld entries\n", db.count ());
GLib.debug ("%" + int64.FORMAT + " entries\n", db.count ());
db.foreach ((k, v) => {
......
......@@ -28,7 +28,7 @@ private class DPAPViewer {
private ValaDPAPRecordFactory factory;
private bool connected_cb (DMAP.Connection connection, bool result, string? reason) {
GLib.debug ("%lld entries\n", db.count ());
GLib.debug ("%" + int64.FORMAT + " entries\n", db.count ());
db.foreach ((k, v) => {
Gdk.Pixbuf pixbuf = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment