aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index f9d21b549a..353a2e0128 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -490,9 +490,8 @@ struct file_buffer {
bool file_id_valid;
FileID file_id;
- char_u b_key[SIZEOF_INT * 2 + 1]; // key used for buf_hashtab, holds
- // b_fnum as hex string
-
+ char_u b_key[sizeof(handle_T) * 2 + 1]; // key used for buf_hashtab, holds
+ // b_fnum as hex string
int b_changed; // 'modified': Set to true if something in the
// file has been changed and not written out.
int b_changedtick; // incremented for each change, also for undo