mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
refactor: enable -Wconversion warning for edit.c
Work on https://github.com/neovim/neovim/issues/567
This commit is contained in:
@@ -408,7 +408,7 @@ size_t xstrnlen(const char *s, size_t n)
|
||||
if (end == NULL) {
|
||||
return n;
|
||||
}
|
||||
return end - s;
|
||||
return (size_t)(end - s);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user