Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 9083313

Browse files
committed
[[ ICUData ]] Quick fix: force 16-byte alignment of encoded icudata array
1 parent b246916 commit 9083313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/encode_data.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
# Write to the output file
4444
open OUTPUT, ">$destFile"
4545
or die "Could not open output file \"$destFile\": $!";
46-
print OUTPUT "unsigned char ${varName}[] = \n{\n\t$cArray\n};\n";
46+
print OUTPUT "alignas(16) unsigned char ${varName}[] = \n{\n\t$cArray\n};\n";
4747
print OUTPUT "unsigned int ${varName}_length = $length;\n";
4848
close OUTPUT;

0 commit comments

Comments
 (0)