From 5837aae7d9d4256bdeee24ed4a1dc02c607d55c5 Mon Sep 17 00:00:00 2001 From: mertcandav Date: Fri, 30 Aug 2024 23:15:30 +0300 Subject: [PATCH] api: initialize closure pointer with null instead of zero --- api/fn.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/fn.hpp b/api/fn.hpp index aa3bbc5c6..dd0b051e5 100644 --- a/api/fn.hpp +++ b/api/fn.hpp @@ -153,7 +153,7 @@ namespace jule }; #endif - static jule::U8 *__closure_ptr = 0; + static jule::U8 *__closure_ptr = nullptr; static jule::Int __closure_cap = 0; static void *(*__closure_get_ctx)(void) = nullptr;