summaryrefslogtreecommitdiff
path: root/src/elogin/md5calc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elogin/md5calc.c')
-rw-r--r--src/elogin/md5calc.c2
1 files changed, 1 insertions, 1 deletions
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.