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