aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorlonerover <pathfinder1644@yahoo.com>2017-01-03 15:28:38 +0800
committerlonerover <pathfinder1644@yahoo.com>2017-01-04 08:53:38 +0800
commit1984e784fbba3757872eb396928ad919921ac6b1 (patch)
tree2c94be90d2008dd59d19569ad7ef586442df3662 /src/nvim/buffer_defs.h
parenta5f36e24bb294870516d89288968344c2d78f6b5 (diff)
downloadrneovim-1984e784fbba3757872eb396928ad919921ac6b1.tar.gz
rneovim-1984e784fbba3757872eb396928ad919921ac6b1.tar.bz2
rneovim-1984e784fbba3757872eb396928ad919921ac6b1.zip
fix lint error
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