##// END OF EJS Templates
bdiff: use ssize_t in favor of Py_ssize_t in cpython-unaware locations...
Maciej Fijalkowski -
r29539:666832b9 default
parent child Browse files
Show More
@@ -15,12 +15,13 b''
15 15 #include <string.h>
16 16 #include <limits.h>
17 17
18 #include "compat.h"
18 19 #include "util.h"
19 20 #include "bitmanipulation.h"
20 21
21 22 struct line {
22 23 int hash, n, e;
23 Py_ssize_t len;
24 ssize_t len;
24 25 const char *l;
25 26 };
26 27
@@ -34,7 +35,7 b' struct hunk {'
34 35 struct hunk *next;
35 36 };
36 37
37 static int splitlines(const char *a, Py_ssize_t len, struct line **lr)
38 static int splitlines(const char *a, ssize_t len, struct line **lr)
38 39 {
39 40 unsigned hash;
40 41 int i;
General Comments 0
You need to be logged in to leave comments. Login now