Skip to content

Commit

Permalink
Fix missing type encoding case for long double.
Browse files Browse the repository at this point in the history
This was triggered when upgrading ivars from the pre-2.0 ABI that used
long double - their alignment could not be calculated correctly and we
hit an assertion.

Fixes: gnustep#82
  • Loading branch information
David Chisnall committed Feb 10, 2019
1 parent effdd15 commit 0db500a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions type_encoding_cases.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#ifndef APPLY_TYPE
#error Define APPLY_TYPE(type, name, capitalizedName, encodingChar) before including this file
#endif
APPLY_TYPE(long double, long double, LongDouble, 'D')
APPLY_TYPE(double, double, Double, 'd')
APPLY_TYPE(float, float, Float, 'f')
APPLY_TYPE(signed char, char, Char, 'c')
Expand Down

0 comments on commit 0db500a

Please sign in to comment.