diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-06 16:01:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-06 16:01:22 +0000 |
commit | c4f0fe86c25a22369bed82ce0259389df9e9d39b (patch) | |
tree | 561fedc7cd18f3dadfaca92cd11988e53544a9d1 /src | |
parent | 6e00a1bd69bc34b850665835ba9d730caa61e832 (diff) | |
download | gnunet-c4f0fe86c25a22369bed82ce0259389df9e9d39b.tar.gz gnunet-c4f0fe86c25a22369bed82ce0259389df9e9d39b.zip |
-keep as const
Diffstat (limited to 'src')
-rw-r--r-- | src/util/test_common_logging_runtime_loglevels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c index 697652c39..58b722b11 100644 --- a/src/util/test_common_logging_runtime_loglevels.c +++ b/src/util/test_common_logging_runtime_loglevels.c | |||
@@ -168,7 +168,7 @@ int bytes; | |||
168 | static void | 168 | static void |
169 | read_call (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 169 | read_call (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
170 | { | 170 | { |
171 | struct GNUNET_DISK_FileHandle *stdout_read_handle = cls; | 171 | const struct GNUNET_DISK_FileHandle *stdout_read_handle = cls; |
172 | char level[8]; | 172 | char level[8]; |
173 | long delay; | 173 | long delay; |
174 | long delays[8]; | 174 | long delays[8]; |
@@ -186,7 +186,7 @@ read_call (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
186 | #endif | 186 | #endif |
187 | read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, | 187 | read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, |
188 | stdout_read_handle, &read_call, | 188 | stdout_read_handle, &read_call, |
189 | stdout_read_handle); | 189 | (void*) stdout_read_handle); |
190 | return; | 190 | return; |
191 | } | 191 | } |
192 | 192 | ||