summaryrefslogtreecommitdiffstats
path: root/include/convert.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/convert.h')
-rw-r--r--include/convert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/convert.h b/include/convert.h
index 88933d54..9ce0b75a 100644
--- a/include/convert.h
+++ b/include/convert.h
@@ -6,6 +6,6 @@
#define CONV_GB 1
#define CONV_UTF8 2
-typedef int (* read_write_type)(int, void *, size_t);
+typedef ssize_t (* read_write_type)(int, void *, size_t);
#endif