##// END OF EJS Templates
cffi: call bytes() instead of str() on CFFI buffer instances
Manuel Jacob -
r52684:6d7fdf90 stable
parent child Browse files
Show More
@@ -76,7 +76,7 b' def bdiff(sa: bytes, sb: bytes) -> bytes'
76 lgt,
76 lgt,
77 )
77 )
78 )
78 )
79 rl.append(str(ffi.buffer((b[0] + lb).l, lgt)))
79 rl.append(bytes(ffi.buffer((b[0] + lb).l, lgt)))
80 la = h.a2
80 la = h.a2
81 lb = h.b2
81 lb = h.b2
82 h = h.next
82 h = h.next
General Comments 0
You need to be logged in to leave comments. Login now