summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/b64_decode-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/b64_decode-test.c b/tests/lib/b64_decode-test.c
index 631dc15f7d..189ce96237 100644
--- a/tests/lib/b64_decode-test.c
+++ b/tests/lib/b64_decode-test.c
@@ -35,7 +35,7 @@ static void test_b64_decode(void **state)
res = b64_decode((uint8_t *)messages[i].enc, strlen(messages[i].enc), decoded);
assert_int_equal(res, (strlen(messages[i].dec)));
- assert_string_equal(decoded, messages[i].dec);
+ assert_string_equal((const char *)decoded, messages[i].dec);
free(decoded);
}