Explorar o código

Merge pull request #25223 from akien-mga/base64-return-long

base64.h: Fix return type mismatch
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
6ab16512eb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      thirdparty/misc/base64.h

+ 2 - 2
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 */