summaryrefslogtreecommitdiffstats
path: root/src/fuse/connection.h
diff options
context:
space:
mode:
authorSimon Rettberg2017-10-24 22:03:46 +0200
committerSimon Rettberg2017-10-24 22:03:46 +0200
commit58e8672218b607ea0c27a32eeadd1c5ac459c840 (patch)
tree444650a3a4755813191fd52ef791672a13572aaf /src/fuse/connection.h
parent[SERVER] Initialize PRNG (diff)
downloaddnbd3-58e8672218b607ea0c27a32eeadd1c5ac459c840.tar.gz
dnbd3-58e8672218b607ea0c27a32eeadd1c5ac459c840.tar.xz
dnbd3-58e8672218b607ea0c27a32eeadd1c5ac459c840.zip
[FUSE] Fix type mismatch warnings
Diffstat (limited to 'src/fuse/connection.h')
-rw-r--r--src/fuse/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fuse/connection.h b/src/fuse/connection.h
index a97f2cc..37bca88 100644
--- a/src/fuse/connection.h
+++ b/src/fuse/connection.h
@@ -2,6 +2,7 @@
#define _CONNECTION_H_
#include "../shared/fdsignal.h"
+#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
@@ -27,6 +28,6 @@ bool connection_read(dnbd3_async_t *request);
void connection_close();
-int connection_printStats(char *buffer, const int len);
+size_t connection_printStats(char *buffer, const size_t len);
#endif /* CONNECTION_H_ */