mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix typo in the compile-type verification of `OBJCODE_COOKIE'.
* libguile/objcodes.c: Fix `sizeof (OBJCODE_COOKIE)' assertion: the trailing 0 must not be taken into account, and multiple of 8 means the 3 LSBs are clear.
This commit is contained in:
parent
07f99e1c6a
commit
a823e7272e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
||||||
"GOOF-0.6-" OBJCODE_ENDIANNESS "-" OBJCODE_WORD_SIZE "---"
|
"GOOF-0.6-" OBJCODE_ENDIANNESS "-" OBJCODE_WORD_SIZE "---"
|
||||||
|
|
||||||
/* The length of the header must be a multiple of 8 bytes. */
|
/* The length of the header must be a multiple of 8 bytes. */
|
||||||
verify ((sizeof (OBJCODE_COOKIE) & 7) != 0);
|
verify (((sizeof (OBJCODE_COOKIE) - 1) & 7) == 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue