From 590822ee40d8f2554f739c5c34ed8ba0cbb2ef76 Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 10 Jun 2008 17:09:16 +0000 Subject: [PATCH] Use corret types. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1434 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/algo/md2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bertos/algo/md2.c b/bertos/algo/md2.c index 53b44865..f24fcd1f 100644 --- a/bertos/algo/md2.c +++ b/bertos/algo/md2.c @@ -340,7 +340,7 @@ bool md2_test(void) }; - const uint8_t *result[] = { + const char *result[] = { "\x83\x50\xe5\xa3\xe2\x4c\x15\x3d\xf2\x27\x5c\x9f\x80\x69\x27\x73", "\xab\x4f\x49\x6b\xfb\x2a\x53\x0b\x21\x9f\xf3\x30\x31\xfe\x06\xb0", "\x4e\x8d\xdf\xf3\x65\x02\x92\xab\x5a\x41\x08\xc3\xaa\x47\x94\x0b", @@ -348,7 +348,7 @@ bool md2_test(void) }; - for (int i = 0; i < countof(test); i++) + for (size_t i = 0; i < countof(test); i++) { md2_init(&context); md2_update(&context, test[i], strlen(test[i])); -- 2.25.1