ESP32 Cyd and lvgl

Hello I use an ESP32 and I fiddle with lvgl. Wo this is a great Project
My C++ skills are limited and I got an Error in a function

static void set_needle_line_value(void * obj, int32_t v)
{
    lv_scale_set_line_needle_value(obj, needle_line, 60, v);
}

invalid conversion from 'void*' to 'lv_obj_t*' [-fpermissive]
I have no clue how to solve this.

Start by posting a full sketch that illustrates the error and the full error message

The good news is it is permissive so it will execute but once you show the code AND the entire error log in code tags (both) we can do better.