mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
This commit is contained in:
parent
9116f0286b
commit
dd6df37c14
8 changed files with 17 additions and 17 deletions
|
|
@ -173,7 +173,7 @@ uint8 *BigNumber::AsByteArray(int minSize)
|
|||
// If we need more bytes than length of BigNumber set the rest to 0
|
||||
if (length > GetNumBytes())
|
||||
memset((void*)_array, 0, length);
|
||||
|
||||
|
||||
BN_bn2bin(_bn, (unsigned char *)_array);
|
||||
|
||||
std::reverse(_array, _array + length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue