summaryrefslogtreecommitdiff
path: root/src/elogin/md5calc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 03:56:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 03:56:12 +0300
commit447787839e492410611ebe16d01fd5e1ae52e045 (patch)
tree0df52644e225f65e2d23f358dc4db5906c1595be /src/elogin/md5calc.c
parentd37fe74804b94065259703509b4b3dc3f53c30a5 (diff)
downloadevol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.gz
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.bz2
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.tar.xz
evol-hercules-447787839e492410611ebe16d01fd5e1ae52e045.zip
Fix different warnings.
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.