@ -28,7 +28,7 @@ static void* _ar_memory_get(struct array* this, long i)
return &this->data[i*this->element];
}
static const void _ar_memory_set(struct array* this, long i, const void* item)
static void _ar_memory_set(struct array* this, long i, const void* item)
{
if(i<0 || i>= this->size) return;
@ -77,7 +77,7 @@ void _seed(const void* from)
double _sample()
return (next() & ((1L << 53) - 1)) * (1.00 / (1L << 53));
return (next() & ((INT64_C(1) << 53) - 1)) * (1.00 / (INT64_C(1) << 53));
RNG_IMPL_DEFINITION(xoroshiro128plus)