[folks] eds: Fix a minor type problem in the add-contacts-stress-test



commit ab13818cfd05e16eafcf1bf226af36b544641dba
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Aug 7 13:52:40 2011 +0200

    eds: Fix a minor type problem in the add-contacts-stress-test

 tests/eds/add-contacts-stress-test.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/eds/add-contacts-stress-test.vala b/tests/eds/add-contacts-stress-test.vala
index 0d530d8..024bcfb 100644
--- a/tests/eds/add-contacts-stress-test.vala
+++ b/tests/eds/add-contacts-stress-test.vala
@@ -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 ())



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]