Skip to content

Commit 3b4b826

Browse files
authored
Fix clang build error
C-style cast from 'nullptr_t' to 'INTERP_TYPE' is not allowed
1 parent e315f08 commit 3b4b826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripttabs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ TYPE_SYMBOL asTypeTable[] =
108108
{ "", (INTERP_TYPE)ST_POINTER_STRUCTSTAT, AT_SIMPLE, NULL, NULL }, //for NULLSTRUCTURESTAT
109109

110110
/* This final entry marks the end of the type list */
111-
{ "END OF TYPE LIST", (INTERP_TYPE)NULL, AT_SIMPLE, NULL, NULL },
111+
{ "END OF TYPE LIST", (INTERP_TYPE)0, AT_SIMPLE, NULL, NULL },
112112
};
113113

114114

0 commit comments

Comments
 (0)