diff -r 160f3300f6b7 -r ddf690c0b36b test/snake/snake.c --- a/test/snake/snake.c Tue Jul 08 19:55:55 2025 +0200 +++ b/test/snake/snake.c Wed Jul 09 22:30:52 2025 +0200 @@ -56,7 +56,7 @@ } static void update_fps_counter(AscBehavior *behavior) { - AscSceneNode *node = behavior->node; + asc_ptr_cast(AscText, node, behavior->node); static float last_fps = 0.f; if (fabsf(asc_context.frame_rate - last_fps) > 1) { last_fps = asc_context.frame_rate;