##// 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 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 80 la = h.a2
81 81 lb = h.b2
82 82 h = h.next
General Comments 0
You need to be logged in to leave comments. Login now