Skip to content

Commit

Permalink
FIX: warning: implicit truncation from 'int' to a one-bit wide bit-fi…
Browse files Browse the repository at this point in the history
…eld changes value from 1 to -1
  • Loading branch information
Oldes committed Apr 16, 2024
1 parent 4b4074a commit 04c82ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/reb-struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ struct Struct_Field {
REBCNT offset;
REBCNT dimension; /* for arrays */
REBCNT size; /* size of element, in bytes */
REBOOL array:1;
REBOOL done:1; /* field is initialized?, used by GC to decide if the value needs to be marked */
unsigned int array:1;
unsigned int done:1; /* field is initialized?, used by GC to decide if the value needs to be marked */
};

/* this is hackish to work around the size limit of REBSTU
Expand Down

0 comments on commit 04c82ae

Please sign in to comment.