aboutsummaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-04-28 14:28:06 +0300
committerSyndamia <kamen@syndamia.com>2026-05-12 07:08:56 +0300
commita619dd631c367d60a06a28e81fec634c7d827308 (patch)
treefecb09aa088d406df98658b57137a0ac3c19782e /example.c
parent0d249b1d47a7f84cfe5f09ad070d1affd26566da (diff)
downloadfoollib-a619dd631c367d60a06a28e81fec634c7d827308.tar
foollib-a619dd631c367d60a06a28e81fec634c7d827308.tar.gz
foollib-a619dd631c367d60a06a28e81fec634c7d827308.zip
chore: Add safety checks and clean up code style
Diffstat (limited to 'example.c')
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index 2f50152..4081c21 100644
--- a/example.c
+++ b/example.c
@@ -12,7 +12,7 @@ main() {
Result status = R_Ok;
for (usize i = 7; i <= 4830; i += 69) {
- PRINT_NOTOK(V_pushp((void***)&hexes, S_printf(&t, "%x", i)));
+ PRINT_NOTOK(V_pushp((Vector**)&hexes, S_printf(&t, "%x", i)));
}
String all = S_printf(&g, "Total: %ld\n", V_count(hexes));