Selaa lähdekoodia

to_read should be size_t

The result of sizeof is size_t so we should use the correct type.
We can safely cast the arithmetic to size_t as the while loop checks
that the subtraction will not result in a negative number.
Matt Clarkson 10 vuotta sitten
vanhempi
commit
4477a7c850

Diff tiedot eivät ole saatavilla.