Skip to content

Fix SFixed conversion by making ShiftType signed#100

Merged
Pharap merged 1 commit into
masterfrom
fix-conversion-bug
Jan 12, 2023
Merged

Fix SFixed conversion by making ShiftType signed#100
Pharap merged 1 commit into
masterfrom
fix-conversion-bug

Conversation

@Pharap

@Pharap Pharap commented Jan 12, 2023

Copy link
Copy Markdown
Owner

SFixed's conversion operator isn't functioning correctly because the shifting is being done with an unsigned type. This rectifies that by changing SFixed's ShiftType to a signed integer type.

`SFixed`'s conversion operator isn't functioning correctly because the shifting is being done with an unsigned type.
This rectifies that by changing `SFixed`'s `ShiftType` to a signed integer type.
@Pharap Pharap added the Bug Fix This change fixes a bug label Jan 12, 2023
@Pharap Pharap added this to the v1.1.2 milestone Jan 12, 2023
@Pharap Pharap self-assigned this Jan 12, 2023
@Pharap
Pharap merged commit def0ef2 into master Jan 12, 2023
@Pharap
Pharap deleted the fix-conversion-bug branch January 12, 2023 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Fix This change fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant