From: asterix Date: Tue, 10 Jun 2008 17:09:16 +0000 (+0000) Subject: Use corret types. X-Git-Tag: 2.0.0~500 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=590822ee40d8f2554f739c5c34ed8ba0cbb2ef76;p=bertos.git Use corret types. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1434 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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]));