summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-01 05:27:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-01 05:27:52 +0300
commiteb119ecb58cce24813b37108fce4c0f343bdc2ab (patch)
treea4fca4d8d6a65b587b39ac2bc63c774eaba99012 /src/utils
parent761682b6254a3d43e65ff45e07683c61afa6f1e4 (diff)
downloadmanaverse-eb119ecb58cce24813b37108fce4c0f343bdc2ab.tar.gz
manaverse-eb119ecb58cce24813b37108fce4c0f343bdc2ab.tar.bz2
manaverse-eb119ecb58cce24813b37108fce4c0f343bdc2ab.tar.xz
manaverse-eb119ecb58cce24813b37108fce4c0f343bdc2ab.zip
Checks after checks...
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/sha256.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp
index d28fa43fb..a56f6ec9a 100644
--- a/src/utils/sha256.cpp
+++ b/src/utils/sha256.cpp
@@ -280,7 +280,7 @@ std::string SHA256Hash(const char *src, int len)
SHA256Context ctx;
SHA256Init(&ctx);
SHA256Update(&ctx, static_cast<unsigned char *>(src),
- static_casr<unsigned int>(len));
+ static_cast<unsigned int>(len));
SHA256Final(&ctx, bytehash);
// Convert it to hex
const char* hxc = "0123456789abcdef";