File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
vm/ByteCodeTranslator/src/com/codename1/tools/translator Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -781,15 +781,15 @@ public String generateCCode(List<ByteCodeClass> allClasses) {
781781 if (fld .isVolatile ()) {
782782 b .append ("return atomic_load(&((struct obj__" );
783783 b .append (clsName );
784- b .append (")__cn1T)->" );
784+ b .append ("* )__cn1T)->" );
785785 b .append (fld .getClsName ());
786786 b .append ("_" );
787787 b .append (fld .getFieldName ());
788788 b .append (");\n }\n \n " );
789789 } else {
790790 b .append ("return ((struct obj__" );
791791 b .append (clsName );
792- b .append (")__cn1T)->" );
792+ b .append ("* )__cn1T)->" );
793793 b .append (fld .getClsName ());
794794 b .append ("_" );
795795 b .append (fld .getFieldName ());
@@ -810,15 +810,15 @@ public String generateCCode(List<ByteCodeClass> allClasses) {
810810 if (fld .isVolatile ()) {
811811 b .append ("atomic_store(&((struct obj__" );
812812 b .append (clsName );
813- b .append (")__cn1T)->" );
813+ b .append ("* )__cn1T)->" );
814814 b .append (fld .getClsName ());
815815 b .append ("_" );
816816 b .append (fld .getFieldName ());
817817 b .append (", __cn1Val);\n }\n \n " );
818818 } else {
819819 b .append ("((struct obj__" );
820820 b .append (clsName );
821- b .append (")__cn1T)->" );
821+ b .append ("* )__cn1T)->" );
822822 b .append (fld .getClsName ());
823823 b .append ("_" );
824824 b .append (fld .getFieldName ());
You can’t perform that action at this time.
0 commit comments