mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
infra: prevent warning on windows
"conversion from 'float' to 'int8_t', possible loss of data"
This commit is contained in:
parent
931d0748bb
commit
a0f1c2d99d
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ void LottieParser::getValue(int8_t& val)
|
||||||
//discard rest
|
//discard rest
|
||||||
while (nextArrayValue()) getInt();
|
while (nextArrayValue()) getInt();
|
||||||
} else {
|
} else {
|
||||||
val = getFloat();
|
val = (int8_t)getFloat();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue