Skip to content

Fix -Wsizeof-array-div clang warning - #1998

Merged
ebraminio merged 1 commit into
harfbuzz:masterfrom
ebraminio:warnings
Oct 1, 2019
Merged

ebraminio merged 1 commit into
harfbuzz:masterfrom
ebraminio:warnings

Conversation

@ebraminio

Copy link
Copy Markdown
Collaborator

Fixes #1969

@ebraminio
ebraminio merged commit 51b720f into harfbuzz:master Oct 1, 2019
@ebraminio
ebraminio deleted the warnings branch October 1, 2019 09:10
static_assert (sizeof (arabic_win1256_gsub_lookups.manifestData) / sizeof (ManifestLookup)
<= ARABIC_FALLBACK_MAX_LOOKUPS, "");
static_assert (sizeof (arabic_win1256_gsub_lookups.manifestData) ==
ARABIC_FALLBACK_MAX_LOOKUPS * sizeof (ManifestLookup), "");

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

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.

Clang warning of type -Wsizeof-array-div for arabic fallback shaping static assert

2 participants