-if the rest of the code uses horrible casts, one more hardly matters
authorChristian Grothoff <christian@grothoff.org>
Mon, 8 Jun 2015 19:49:23 +0000 (19:49 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 8 Jun 2015 19:49:23 +0000 (19:49 +0000)
src/cadet/gnunet-service-cadet_tunnel.c

index 4807885c6defe5d5f1c569affcff8d6d48827d6d..661a056b6aba1418ee222171509b3b88d2e80d1e 100644 (file)
@@ -4344,7 +4344,7 @@ ax_debug (const struct CadetTunnelAxolotl *ax, enum GNUNET_ErrorType level)
 
   GNUNET_CRYPTO_ecdhe_key_get_public (ax->DHRs, &pub);
   LOG2 (level, "TTT  DHRs\t %s\n",
-        GNUNET_i2s (&pub));
+        GNUNET_i2s ((struct GNUNET_PeerIdentity *) &pub));
   LOG2 (level, "TTT  DHRr\t %s\n",
         GNUNET_h2s ((struct GNUNET_HashCode *) &ax->DHRr));