Skip to content

iec13818-1.h: fix build with GCC 6.1.0#1

Merged
ddennedy merged 1 commit intoddennedy:masterfrom
aakoskin:master
May 15, 2016
Merged

iec13818-1.h: fix build with GCC 6.1.0#1
ddennedy merged 1 commit intoddennedy:masterfrom
aakoskin:master

Conversation

@aakoskin
Copy link
Copy Markdown
Contributor

Fix the following build issue with GCC 6.1.0:

iec13818-1.h:45:75: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
static char bitmask[8] = { 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff };
^

Fix the following build issue with GCC 6.1.0:

iec13818-1.h:45:75: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
 static char bitmask[8] = { 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff };
                                                                           ^
@ddennedy ddennedy merged commit 0b19794 into ddennedy:master May 15, 2016
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