mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
refactor: the long goodbye
long is 32 bits on windows, while it is 64 bits on other architectures. This makes the type suboptimal for a codebase meant to be cross-platform. Replace it with more appropriate integer types.
This commit is contained in:
4
src/xdiff/xdiff.h
vendored
4
src/xdiff/xdiff.h
vendored
@@ -102,8 +102,8 @@ typedef struct s_xdemitcb {
|
||||
|
||||
typedef long (*find_func_t)(const char *line, long line_len, char *buffer, long buffer_size, void *priv);
|
||||
|
||||
typedef int (*xdl_emit_hunk_consume_func_t)(long start_a, long count_a,
|
||||
long start_b, long count_b,
|
||||
typedef int (*xdl_emit_hunk_consume_func_t)(int start_a, int count_a,
|
||||
int start_b, int count_b,
|
||||
void *cb_data);
|
||||
|
||||
typedef struct s_xdemitconf {
|
||||
|
Reference in New Issue
Block a user