fix sample init size way too big

This commit is contained in:
Eknous-P 2025-10-06 00:40:18 +04:00
parent 78a86e3d08
commit 2739b5af54
2 changed files with 3 additions and 2 deletions

View file

@ -236,7 +236,7 @@ struct DivSample {
* @param count number of samples.
* @return whether it was successful.
*/
bool initInternal(DivSampleDepth d, int count);
bool initInternal(DivSampleDepth d, unsigned int count);
/**
* initialize sample data. make sure you have set `depth` before doing so.