mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-08 19:28:53 +00:00
Fixed a warning
This commit is contained in:
parent
a23468af8c
commit
3b97d399b1
@ -170,7 +170,7 @@ static FORCEINLINE void check_data(size_t* data_index, const size_t bytes_needed
|
|||||||
{
|
{
|
||||||
if (*data_index + bytes_needed > data_size)
|
if (*data_index + bytes_needed > data_size)
|
||||||
{
|
{
|
||||||
hash_extra_blake(data, data_size, data);
|
hash_extra_blake(data, data_size, (char*) data);
|
||||||
*data_index = 0;
|
*data_index = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user