From 25a367862dbdfb0fdfdfc6f619af3f0a7e0fe79f Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 30 Jun 2025 15:29:44 -0700 Subject: Use nullptr --- filesystem/src/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filesystem/src/path.c') diff --git a/filesystem/src/path.c b/filesystem/src/path.c index 2ce5a04..544a5d1 100644 --- a/filesystem/src/path.c +++ b/filesystem/src/path.c @@ -21,7 +21,7 @@ path path_new(const char* str) { void path_del(path* path) { if (path) { free(path->data); - path->data = 0; + path->data = nullptr; path->size = 0; } } -- cgit v1.2.3