Skip to content

error "a cast operator is attempting to reduce the size of a pointer" #43

Description

@jeff012

Hi,
I am tring to built ugui to stm8l151and use STVD.but i got a error "a cast operator is attempting to reduce the size of a pointer", the error is at blow function:

UG_DriverRegister(DRIVER_DRAW_LINE,(void*)HW_DrawLine);

i don't know the root cause,can you help me?

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions