[instancer] fix a runtime error
runtime error: -1 is outside the range of representable values of type 'unsigned int'
This commit is contained in:
parent
43dbdd9db6
commit
e471ef77f9
|
@ -137,7 +137,7 @@ struct cvar
|
|||
|
||||
FWORD *cvt_prime = (FWORD *) hb_blob_get_data_writable (cvt_prime_blob, nullptr);
|
||||
for (unsigned i = 0; i < num_cvt_item; i++)
|
||||
cvt_prime[i] += roundf (cvt_deltas[i]);
|
||||
cvt_prime[i] += (int) roundf (cvt_deltas[i]);
|
||||
|
||||
bool success = plan->add_table (cvt, cvt_prime_blob);
|
||||
hb_blob_destroy (cvt_prime_blob);
|
||||
|
|
Loading…
Reference in New Issue