From 4a027c9f2b06719aecd0c5b9e04afdb475865085 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Wed, 3 Jun 2026 19:59:06 +0700 Subject: [PATCH] Fix NULL definition --- src/header/bits_null/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/header/bits_null/mod.rs b/src/header/bits_null/mod.rs index 11660e5aa3..a345f3c829 100644 --- a/src/header/bits_null/mod.rs +++ b/src/header/bits_null/mod.rs @@ -1,5 +1,4 @@ -use crate::platform::types::c_void; +use crate::platform::types::c_long; /// Null pointer constant. -#[expect(clippy::zero_ptr)] -pub const NULL: *mut c_void = 0 as *mut c_void; +pub const NULL: c_long = 0;