-fix format string
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Fri, 15 Jul 2016 20:19:03 +0000 (20:19 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Fri, 15 Jul 2016 20:19:03 +0000 (20:19 +0000)
src/identity-provider/gnunet-service-identity-provider.c
src/identity-provider/plugin_rest_identity_provider.c

index 358017d5b1f01add43e4a4852915fb12be27fedb..8ed976826d5959be2e9f9076eada6f03711cd670 100644 (file)
@@ -769,7 +769,7 @@ update_identities(void *cls)
     if (min_rel_exp.rel_value_us < MIN_WAIT_TIME.rel_value_us)
       min_rel_exp = MIN_WAIT_TIME;
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                ">>> Finished. Rescheduling in %lu\n",
+                ">>> Finished. Rescheduling in %"SCNu64"\n",
                 min_rel_exp.rel_value_us);
     ns_it = NULL;
     //finished -> reschedule
index fa97137d76fda541a2933076b84b7abe04b6cea1..e03f502adb27d9dd0878a3203f0f9144673ce7ca 100644 (file)
@@ -871,7 +871,7 @@ exchange_cont (void *cls,
   if (ticket_nonce != expected_nonce)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "Ticket nonce %lu does not match expected nonce %lu\n",
+                "Ticket nonce %"SCNu64" does not match expected nonce %"SCNu64"\n",
                 ticket_nonce, expected_nonce);
     handle->emsg = GNUNET_strdup ("Ticket nonce does not match expected nonce\n");
     GNUNET_SCHEDULER_add_now (&do_error, handle);