You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, GCC and Clang do an amazing job. I just noticed it, because I compiled a program with Clang. VS2017 didn't complain about that (didn't try with VS2019 yet).
https://github.com/jwatte/EPIC/blob/master/Extrapolator.cpp#L126
oVel
is an argument and passed as pointer toReadPosition()
, sosizeof(oVel)
returns the size of a pointer.Fix
Replace
sizeof(oVel)
withsizeof(Type) * Count
The text was updated successfully, but these errors were encountered: