Skip to content

Conversation

kojiishi
Copy link
Contributor

Applying unary minus operator to unsigned int causes the following warning on MSVS:
warning C4146: unary minus operator applied to unsigned type, result still unsigned

This patch fixes the warning.

Applying unary minus operator to unsigned int causes the following warning on MSVS:
  warning C4146: unary minus operator applied to unsigned type, result still unsigned

This patch fixes the warning.
@behdad behdad closed this in f1b4430 May 21, 2015
@behdad
Copy link
Member

behdad commented May 21, 2015

Thanks. Fixed.

gpgreen pushed a commit to gpgreen/harfbuzz that referenced this pull request Jan 10, 2024
[breaking change] Make raw pointer fields private

This is necessary for safety; otherwise safe Rust code could cause memory-safety violations by writing to the `raw` field and then calling safe methods.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-harfbuzz/110)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants