aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Cryptography/BigNumber.cpp
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2012-11-09 13:13:45 +0100
committerSpp <spp@jorge.gr>2012-11-09 13:13:45 +0100
commit333b8e5159ada2f1b8cbfd1dd8eb9072754477d7 (patch)
treeb73ed1ddf75c9cb691178f0fc409a5e86d3797ce /src/server/shared/Cryptography/BigNumber.cpp
parent90c95806a7bd54c8011e08ed74ff00198d206278 (diff)
Core/Build: Enable Clang PCH support and OS X specific features
Core: Fix warnings here and there
Diffstat (limited to 'src/server/shared/Cryptography/BigNumber.cpp')
-rwxr-xr-xsrc/server/shared/Cryptography/BigNumber.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/shared/Cryptography/BigNumber.cpp b/src/server/shared/Cryptography/BigNumber.cpp
index 8e424e9bcdb..def0a7fd02e 100755
--- a/src/server/shared/Cryptography/BigNumber.cpp
+++ b/src/server/shared/Cryptography/BigNumber.cpp
@@ -192,12 +192,12 @@ uint8 *BigNumber::AsByteArray(int minSize, bool reverse)
return _array;
}
-const char *BigNumber::AsHexStr()
+char * BigNumber::AsHexStr() const
{
return BN_bn2hex(_bn);
}
-const char *BigNumber::AsDecStr()
+char * BigNumber::AsDecStr() const
{
return BN_bn2dec(_bn);
}