all tests passing in MacOS

depends on LLD 5.0.0 with 3 patches

See #273
This commit is contained in:
Andrew Kelley
2017-08-27 17:16:42 -04:00
parent 5fd579a51c
commit ebdc6b594d
8 changed files with 131 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ int main(int argc, char **argv) {
const char *encoded = "YWxsIHlvdXIgYmFzZSBhcmUgYmVsb25nIHRvIHVz";
char buf[200];
size_t len = decode_base_64(buf, 200, encoded, strlen(encoded));
size_t len = decode_base_64((uint8_t *)buf, 200, (uint8_t *)encoded, strlen(encoded));
buf[len] = 0;
assert(strcmp(buf, "all your base are belong to us") == 0);