From a899a94dccabeae11ccef5565751a9ace2f6cd01 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 3 Aug 2020 16:33:54 +0200 Subject: fix type --- src/include/gnunet_buffer_lib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/gnunet_buffer_lib.h b/src/include/gnunet_buffer_lib.h index 046aee72b..0c566df75 100644 --- a/src/include/gnunet_buffer_lib.h +++ b/src/include/gnunet_buffer_lib.h @@ -116,12 +116,12 @@ GNUNET_buffer_write_str (struct GNUNET_Buffer *buf, const char *str); * * @param buf buffer to write to * @param data data to read from - * @param len number of bytes to copy from @a data to @a buf + * @param data_len number of bytes to copy from @a data to @a buf */ void GNUNET_buffer_write_data_encoded (struct GNUNET_Buffer *buf, - const char *data, - size_t len); + const void *data, + size_t data_len); /** -- cgit v1.2.3