summaryrefslogtreecommitdiff
path: root/src/include/gnunet_buffer_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_buffer_lib.h')
-rw-r--r--src/include/gnunet_buffer_lib.h6
1 files changed, 3 insertions, 3 deletions
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);
/**