From ba392cf1044f646bb872006113c8a75be79a3d47 Mon Sep 17 00:00:00 2001 From: Austin Schey Date: Sun, 31 Mar 2024 08:06:33 -0500 Subject: [PATCH] fix syntax --- src/hooks/preupdate_hook.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/preupdate_hook.rs b/src/hooks/preupdate_hook.rs index e8301c0..7e1033d 100644 --- a/src/hooks/preupdate_hook.rs +++ b/src/hooks/preupdate_hook.rs @@ -196,7 +196,7 @@ impl InnerConnection { }; drop(catch_unwind(|| { - let boxed_hook: *mut F = p_arg.cast(); + let boxed_hook: *mut F = p_arg.cast::(); (*boxed_hook)( action, expect_utf8(db_name, "database name"),