From bf43fa51a6aabd68659c90eeb42a1b214820ea4a Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 26 Mar 2012 00:35:23 +0900 Subject: [PATCH] dispextern.h (struct glyph): Change the bit length of glyphless.ch to 22 to make the member glyphless fit in 32 bits. --- src/ChangeLog | 5 +++++ src/dispextern.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 9a4d10d410e..0c2ba981111 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-03-25 Kenichi Handa + + * dispextern.h (struct glyph): Change the bit length of + glyphless.ch to 22 to make the member glyphless fit in 32 bits. + 2012-03-24 Eli Zaretskii * s/ms-w32.h (tzname): Include time.h before redirecting to diff --git a/src/dispextern.h b/src/dispextern.h index 2d4aee0cb94..6024b67ad28 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -454,7 +454,7 @@ struct glyph /* Length of acronym or hexadecimal code string (at most 8). */ unsigned len : 4; /* Character to display. Actually we need only 22 bits. */ - unsigned ch : 26; + unsigned ch : 22; } glyphless; /* Used to compare all bit-fields above in one step. */ -- 2.39.2