From 447787839e492410611ebe16d01fd5e1ae52e045 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Apr 2016 03:56:12 +0300 Subject: Fix different warnings. --- src/elogin/md5calc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/elogin/md5calc.c') diff --git a/src/elogin/md5calc.c b/src/elogin/md5calc.c index 87c4a52..9bb9460 100644 --- a/src/elogin/md5calc.c +++ b/src/elogin/md5calc.c @@ -238,7 +238,7 @@ void MD5_String2binary (const char *string, char *output) //Step 1.Append Padding Bits (extension of a mark bit) //1-1 - string_byte_len = strlen (string); //The byte chief of a character sequence is acquired. + string_byte_len = (unsigned int)strlen(string); //The byte chief of a character sequence is acquired. pstring = (unsigned char *) string; //The position of the present character sequence is set. //1-2 Repeat calculation until length becomes less than 64 bytes. -- cgit v1.2.3-70-g09d2