Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeff012 opened this issue Nov 2, 2020 · 0 comments
Open

Comments

@jeff012
Copy link

jeff012 commented Nov 2, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant