fix compile error on pointer cast
This commit is contained in:
parent
b4d645bca0
commit
60aa457d78
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ pub const Db = struct {
|
|||
"",
|
||||
null,
|
||||
&db,
|
||||
&err,
|
||||
@ptrCast(&err),
|
||||
);
|
||||
defer if (err) |e| if (status == null) std.c.free(e);
|
||||
if (open_status != c.NOTMUCH_STATUS_SUCCESS) {
|
||||
|
|
Loading…
Add table
Reference in a new issue