We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix wrong integer shift resulting in lost bits for decoding polylines with precision values greater than 7 (see heremaps/flexible-polyline#36).
Replace delta |= (value & 0x1F) << shift; with delta |= (static_cast<int64_t>(value) & 0x1F) << shift;, adjust tests and update docs.
delta |= (value & 0x1F) << shift;
delta |= (static_cast<int64_t>(value) & 0x1F) << shift;
The text was updated successfully, but these errors were encountered:
munterfi
Successfully merging a pull request may close this issue.
Fix wrong integer shift resulting in lost bits for decoding polylines with precision values greater than 7 (see heremaps/flexible-polyline#36).
Replace
delta |= (value & 0x1F) << shift;
withdelta |= (static_cast<int64_t>(value) & 0x1F) << shift;
, adjust tests and update docs.The text was updated successfully, but these errors were encountered: