projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-remove async ecc key generation, not needed
[oweals/gnunet.git]
/
src
/
util
/
test_common_logging_runtime_loglevels.c
diff --git
a/src/util/test_common_logging_runtime_loglevels.c
b/src/util/test_common_logging_runtime_loglevels.c
index 697652c39b45d91dffff777421463d5e28d5bd2d..58b722b113bfd4a96540637775c20db7b7bb4e0b 100644
(file)
--- a/
src/util/test_common_logging_runtime_loglevels.c
+++ b/
src/util/test_common_logging_runtime_loglevels.c
@@
-168,7
+168,7
@@
int bytes;
static void
read_call (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
static void
read_call (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
- struct GNUNET_DISK_FileHandle *stdout_read_handle = cls;
+
const
struct GNUNET_DISK_FileHandle *stdout_read_handle = cls;
char level[8];
long delay;
long delays[8];
char level[8];
long delay;
long delays[8];
@@
-186,7
+186,7
@@
read_call (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
#endif
read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
stdout_read_handle, &read_call,
#endif
read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
stdout_read_handle, &read_call,
- stdout_read_handle);
+
(void*)
stdout_read_handle);
return;
}
return;
}