Skip to content

Commit ceaa36a

Browse files
committed
Fix non-escaped CStr
1 parent 98a5094 commit ceaa36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ impl fmt::Debug for Type {
12341234
BNGetTypeLines(
12351235
self.handle,
12361236
container,
1237-
"".as_ptr() as *const c_char,
1237+
"\x00".as_ptr() as *const c_char,
12381238
64,
12391239
false,
12401240
BNTokenEscapingType::NoTokenEscapingType,

0 commit comments

Comments
 (0)