Fix build with gcc. Thanks to McBitter for testing.
This commit is contained in:
1 parent
5ec04483cb
commit
dedeb5f9eb
1 file changed
+2
-1
@@ -186,7 +186,8 @@ ACE_Auto_Array_Ptr<uint8> BigNumber::AsByteArray(int32 minSize, bool littleEndia
|
||||
if (littleEndian)
|
||||
std::reverse(array, array + length);
|
||||
|
||||
return ACE_Auto_Array_Ptr<uint8>(array);
|
||||
ACE_Auto_Array_Ptr<uint8> ret(array);
|
||||
return ret;
|
||||
}
|
||||
|
||||
char * BigNumber::AsHexStr() const
|
||||
|
||||
Reference in new issue
Block a user