gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8833 - GNUnet/src/util/containers


From: gnunet
Subject: [GNUnet-SVN] r8833 - GNUnet/src/util/containers
Date: Wed, 19 Aug 2009 15:47:55 -0600

Author: nevans
Date: 2009-08-19 15:47:54 -0600 (Wed, 19 Aug 2009)
New Revision: 8833

Modified:
   GNUnet/src/util/containers/heap.c
Log:


Modified: GNUnet/src/util/containers/heap.c
===================================================================
--- GNUnet/src/util/containers/heap.c   2009-08-17 23:37:12 UTC (rev 8832)
+++ GNUnet/src/util/containers/heap.c   2009-08-19 21:47:54 UTC (rev 8833)
@@ -88,15 +88,15 @@
 void
 internal_print (struct GNUNET_CONTAINER_heap_node *root)
 {
-  fprintf (stdout, "%d\n", root->cost);
+  fprintf (stdout, "%d\n", (int)root->cost);
   if (root->left_child != NULL)
     {
-      fprintf (stdout, "LEFT of %d\n", root->cost);
+      fprintf (stdout, "LEFT of %d\n", (int)root->cost);
       internal_print (root->left_child);
     }
   if (root->right_child != NULL)
     {
-      fprintf (stdout, "RIGHT of %d\n", root->cost);
+      fprintf (stdout, "RIGHT of %d\n", (int)root->cost);
       internal_print (root->right_child);
     }
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]