eds: Fix a minor type problem in the add-contacts-stress-test
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 7 Aug 2011 11:52:40 +0000 (13:52 +0200)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sun, 7 Aug 2011 11:52:40 +0000 (13:52 +0200)
tests/eds/add-contacts-stress-test.vala

index 0d530d8..024bcfb 100644 (file)
@@ -73,8 +73,8 @@ public class AddContactsStressTestTests : Folks.TestCase
       var now = new DateTime.now_utc ();
       var difference = now.difference (this._start_time);
 
-      int diff = difference / TimeSpan.SECOND;
-      GLib.stdout.printf ("(Elapsed time: %d secs) ", diff);
+      var diff = difference / TimeSpan.SECOND;
+      GLib.stdout.printf ("(Elapsed time: %" + diff.FORMAT + " secs) ", diff);
 
       int found = 0;
       foreach (var k in this._contacts_found.get_values ())