-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect signedness of literals (#78)
* Use maxBound instead of (-1) to define iNVALID_HANDLE_VALUE The former results in an out-of-bounds literal warning (introduced in GHC 8.2). * Menu: Use maxBound instead of (-1) to discern error The value being compared against is unsigned so (-1) is technically out of range. * Window: Define cW_USE_DEFAULT as Int, not Word Since its value is signed. * Using NegativeLiterals * use negative number to fit bit pattern. * use negative number to fit bit pattern * Weird convoluted way to get a value with the top bit set.. * Add clarifying comment. * Mark for release.
- Loading branch information
Showing
5 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
06d5849
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TeamCity Win32 Bindings for Haskell :: Win32 Continuous builds Build 32 is now running
06d5849
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TeamCity Win32 Bindings for Haskell :: Win32 Continuous builds Build 32 outcome was SUCCESS
Summary: Running Build time: 00:07:41