Showing with 1 addition and 1 deletion.
  1. +1 −1 src/class.c
2 changes: 1 addition & 1 deletion src/class.c
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,7 @@ void InterfaceDeclaration::semantic(Scope *sc)
else if (cpp)
sc2->linkage = LINKcpp;
else if (this->objc.isInterface())
sc->linkage = LINKobjc;
sc2->linkage = LINKobjc;
sc2->protection = Prot(PROTpublic);
sc2->explicitProtection = 0;
sc2->structalign = STRUCTALIGN_DEFAULT;
Expand Down