[tests] Fix debug print argument
authorKalle Vahlman <kalle.vahlman@movial.com>
Thu, 23 Apr 2009 09:01:32 +0000 (12:01 +0300)
committerKalle Vahlman <kalle.vahlman@movial.com>
Thu, 23 Apr 2009 09:13:32 +0000 (12:13 +0300)
tests/unit.c

index 47ee327fae1e618c112da3c633a7314bdc446a99..bd9995585c2e8238d72227371577aa8174cbad45 100644 (file)
@@ -94,7 +94,7 @@ u_transfer_arg(DBusMessageIter *to, DBusMessageIter *from)
   }
   if (type == DBUS_TYPE_DOUBLE)
   {
-    g_debug("Transferring double arg %f", value);
+    g_debug("Transferring double arg %f", (double)value);
   }
   dbus_message_iter_append_basic(to, type, &value);
 }