aboutsummaryrefslogtreecommitdiffstats
path: root/src/wgtpkg-base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wgtpkg-base64.h')
-rw-r--r--src/wgtpkg-base64.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wgtpkg-base64.h b/src/wgtpkg-base64.h
index 90917a9..b3616b4 100644
--- a/src/wgtpkg-base64.h
+++ b/src/wgtpkg-base64.h
@@ -17,8 +17,8 @@
*/
-extern char *base64encw(const char *buffer, int length, int width);
-extern char *base64enc(const char *buffer, int length);
-extern int base64dec(const char *buffer, char **output);
+extern char *base64encw(const char *buffer, size_t length, unsigned width);
+extern char *base64enc(const char *buffer, size_t length);
+extern ssize_t base64dec(const char *buffer, char **output);
extern int base64eq(const char *buf1, const char *buf2);