summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.cpp
diff options
context:
space:
mode:
authorTom Englund <tomenglund26@gmail.com>2024-08-26 14:08:30 +0200
committerGitHub <noreply@github.com>2024-08-26 14:08:30 +0200
commit9c5a37a797ea1f1829859ab5b07016b2f27f739c (patch)
tree709cd6abe37debb1970081a4466188f7084e975b /src/managers/AnimationManager.cpp
parentca85455a8ed5dbe920a47c1a48de1dd993446481 (diff)
build: fix 32bit builds (#7510)
ensure the correct type is passed to std::clamp and std::max int64_t is different on 64bit compared to 32bit, also in presentationtime tv_sec is __time_t and on 32bit its a 32bit type so right shift count >= width of type. so only bit shift on 64bit. and avoid potential nullptr deref in the for loops, check for .end() before *it <= endID.
Diffstat (limited to 'src/managers/AnimationManager.cpp')
0 files changed, 0 insertions, 0 deletions