aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2012-03-26 00:35:23 +0900
committerKenichi Handa2012-03-26 00:35:23 +0900
commitbf43fa51a6aabd68659c90eeb42a1b214820ea4a (patch)
treefed6cccf972bb8c7ad1ccced9d37c43984392c07
parent4125cb8b6550521126fb5023734abde62c7aef16 (diff)
downloademacs-bf43fa51a6aabd68659c90eeb42a1b214820ea4a.tar.gz
emacs-bf43fa51a6aabd68659c90eeb42a1b214820ea4a.zip
dispextern.h (struct glyph): Change the bit length of glyphless.ch to 22 to make the member glyphless fit in 32 bits.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/dispextern.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9a4d10d410e..0c2ba981111 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-03-25 Kenichi Handa <handa@m17n.org>
2
3 * dispextern.h (struct glyph): Change the bit length of
4 glyphless.ch to 22 to make the member glyphless fit in 32 bits.
5
12012-03-24 Eli Zaretskii <eliz@gnu.org> 62012-03-24 Eli Zaretskii <eliz@gnu.org>
2 7
3 * s/ms-w32.h (tzname): Include time.h before redirecting to 8 * 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
454 /* Length of acronym or hexadecimal code string (at most 8). */ 454 /* Length of acronym or hexadecimal code string (at most 8). */
455 unsigned len : 4; 455 unsigned len : 4;
456 /* Character to display. Actually we need only 22 bits. */ 456 /* Character to display. Actually we need only 22 bits. */
457 unsigned ch : 26; 457 unsigned ch : 22;
458 } glyphless; 458 } glyphless;
459 459
460 /* Used to compare all bit-fields above in one step. */ 460 /* Used to compare all bit-fields above in one step. */