summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-01-22 12:47:11 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-01-22 12:47:11 +0100
commitb21b0ff236626d1661e78bf8c66d88d2bfd76881 (patch)
treed74b37d50bfd9cd3b3cae25eeda77e44926a4ab8
parentb86f16ed40579716488fc3cfa0e92e8076b209f3 (diff)
base64.h: Fix return type mismatch
Fixes #25220.
-rw-r--r--thirdparty/misc/base64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/misc/base64.h b/thirdparty/misc/base64.h
index 4c300382c1..ffcd0af973 100644
--- a/thirdparty/misc/base64.h
+++ b/thirdparty/misc/base64.h
@@ -11,8 +11,8 @@
extern "C" {
-uint32_t base64_encode(char *to, char *from, uint32_t len);
-uint32_t base64_decode(char *to, char *from, uint32_t len);
+long base64_encode(char *to, char *from, unsigned int len);
+long base64_decode(char *to, char *from, unsigned int len);
};
#endif /* BASE64_H */