Skip to content

Bugfix: if not Win32 then BYTE, WORD, DWORD are now correctly set - #9

Open
gnaray wants to merge 1 commit into
simonowen:masterfrom
gnaray:typefixnotwindows
Open

Bugfix: if not Win32 then BYTE, WORD, DWORD are now correctly set#9
gnaray wants to merge 1 commit into
simonowen:masterfrom
gnaray:typefixnotwindows

Conversation

@gnaray

@gnaray gnaray commented Jun 23, 2024

Copy link
Copy Markdown

Bugfix: if not Win32 then BYTE, WORD, DWORD are now correctly set as unsigned in CommonTypes.h.

The proper include is also added (cstdint).
Probably these 3 types are not used at all, removing this #ifndef _WIN32 block should also work.

The problem was that these 3 types are defined as unsigned in Linux (and in Windows anyway) and these signed redefined types conflicted with those.

…unsigned in CommonTypes.h.

The proper include is also added (cstdint).
Probably these 3 types are not used at all, removing this #ifndef _WIN32
block should also work.
The problem was that these 3 types are defined as unsigned in Linux
(and in Windows anyway) and these signed redefined types conflicted
with those.
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.

1 participant