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:
dundargoc
2023-09-29 14:58:48 +02:00
committed by dundargoc
parent c513cbf361
commit acc646ad8f
57 changed files with 362 additions and 367 deletions

4
src/xdiff/xdiff.h vendored
View File

@ -69,12 +69,12 @@ extern "C" {
typedef struct s_mmfile {
char *ptr;
long size;
int size;
} mmfile_t;
typedef struct s_mmbuffer {
char *ptr;
long size;
int size;
} mmbuffer_t;
typedef struct s_xpparam {