summaryrefslogtreecommitdiff
path: root/src/region-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/region-cache.c')
-rw-r--r--src/region-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/region-cache.c b/src/region-cache.c
index a3a2a072c8c..14b6233a5a5 100644
--- a/src/region-cache.c
+++ b/src/region-cache.c
@@ -132,7 +132,7 @@ static void revalidate_region_cache (struct buffer *buf, struct region_cache *c)
struct region_cache *
new_region_cache (void)
{
- struct region_cache *c = xmalloc (sizeof (struct region_cache));
+ struct region_cache *c = xmalloc (sizeof *c);
c->gap_start = 0;
c->gap_len = NEW_CACHE_GAP;