diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-07 16:39:22 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-07 16:48:56 -0700 |
commit | de46a6a4484750b96d6bf43c618029fa70db6080 (patch) | |
tree | be2b8c36737677db418c766cfba69e14a46290d3 /src/dispextern.h | |
parent | da1974fabddda6fac029db6960110001c6472ddc (diff) | |
download | emacs-de46a6a4484750b96d6bf43c618029fa70db6080.tar.gz emacs-de46a6a4484750b96d6bf43c618029fa70db6080.tar.bz2 emacs-de46a6a4484750b96d6bf43c618029fa70db6080.zip |
Use machine pointer width for face hashes
* src/dispextern.h (struct face):
* src/xfaces.c (hash_string_case_insensitive, lface_hash)
(cache_face, lookup_face): Use uintptr_t for face hashes
instead of discarding the upper pointer bits on 64-bit machines.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r-- | src/dispextern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index cc15950d5df..9ba8e746b22 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1739,7 +1739,7 @@ struct face #endif /* The hash value of this face. */ - unsigned hash; + uintptr_t hash; /* Next and previous face in hash collision list of face cache. */ struct face *next, *prev; |