aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-07 12:44:07 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-07 12:44:07 +0000
commit94fc120316cf770cdf8388e5e9f14c16fb376c77 (patch)
tree7cf2ba5ae61c3d2280e7d63dfc2bdf4d376db931 /src
parent966ceb6893b6ad0a504d7435ec97fc4beba65bb2 (diff)
downloadgnunet-94fc120316cf770cdf8388e5e9f14c16fb376c77.tar.gz
gnunet-94fc120316cf770cdf8388e5e9f14c16fb376c77.zip
fixes
Diffstat (limited to 'src')
-rw-r--r--src/datastore/perf_datastore_api.c1
-rw-r--r--src/hello/test_hello.c2
-rw-r--r--src/util/getopt_helpers.c2
3 files changed, 1 insertions, 4 deletions
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c
index 5fdf74f22..0df55f878 100644
--- a/src/datastore/perf_datastore_api.c
+++ b/src/datastore/perf_datastore_api.c
@@ -288,7 +288,6 @@ run_continuation (void *cls,
288 TIMEOUT); 288 TIMEOUT);
289 break; 289 break;
290 case RP_REPORT: 290 case RP_REPORT:
291 size = 0;
292 printf ( 291 printf (
293#if REPORT_ID 292#if REPORT_ID
294 "\n" 293 "\n"
diff --git a/src/hello/test_hello.c b/src/hello/test_hello.c
index 51da7fc75..2f61bd702 100644
--- a/src/hello/test_hello.c
+++ b/src/hello/test_hello.c
@@ -98,12 +98,10 @@ main (int argc, char *argv[])
98 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded publicKey; 98 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded publicKey;
99 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pk; 99 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pk;
100 struct GNUNET_TIME_Absolute startup_time; 100 struct GNUNET_TIME_Absolute startup_time;
101 int ok;
102 unsigned int i; 101 unsigned int i;
103 102
104 GNUNET_log_setup ("test-hello", "DEBUG", NULL); 103 GNUNET_log_setup ("test-hello", "DEBUG", NULL);
105 startup_time = GNUNET_TIME_absolute_get (); 104 startup_time = GNUNET_TIME_absolute_get ();
106 ok = 0;
107 memset (&publicKey, 42, sizeof (publicKey)); 105 memset (&publicKey, 42, sizeof (publicKey));
108 fprintf (stderr, "Testing HELLO creation (without addresses)...\n"); 106 fprintf (stderr, "Testing HELLO creation (without addresses)...\n");
109 i = 0; 107 i = 0;
diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c
index a8a800a00..d3a598626 100644
--- a/src/util/getopt_helpers.c
+++ b/src/util/getopt_helpers.c
@@ -84,7 +84,7 @@ GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext
84 } 84 }
85 if (slen < BORDER) 85 if (slen < BORDER)
86 { 86 {
87 printf ("%*s", BORDER - slen, ""); 87 printf ("%*s", (int) (BORDER - slen), "");
88 slen = BORDER; 88 slen = BORDER;
89 } 89 }
90 trans = gettext (opt[i].description); 90 trans = gettext (opt[i].description);