We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421bda7 commit 1ccd97aCopy full SHA for 1ccd97a
1 file changed
quickjs/quickjs.c
@@ -566,7 +566,7 @@ typedef enum {
566
} JSClosureTypeEnum;
567
568
typedef struct JSClosureVar {
569
- JSClosureTypeEnum closure_type : 3;
+ uint8_t closure_type : 3; /* JSClosureTypeEnum - explicitly use uint8_t to avoid implementation-defined behavior */
570
uint8_t is_lexical : 1; /* lexical variable */
571
uint8_t is_const : 1; /* const variable (is_lexical = 1 if is_const = 1 */
572
uint8_t var_kind : 4; /* see JSVarKindEnum */
0 commit comments