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

build fail #22

Open
Pro-pra opened this issue Dec 24, 2023 · 0 comments
Open

build fail #22

Pro-pra opened this issue Dec 24, 2023 · 0 comments

Comments

@Pro-pra
Copy link

Pro-pra commented Dec 24, 2023

#21 partial help fix build, need fix for libsam3a.c

my error after attempt fiх libsam3a.c:

src/libsam3a/libsam3a.c:923:57: error: invalid conversion from 'void*' to 'void (*)(Sam3ASession*)' [-fpermissive]
  923 |       void (*cbComplete)(Sam3ASession * ses) = ses->aio.udata;
      |                                                ~~~~~~~~~^~~~~
      |                                                         |
      |                                                         void*
src/libsam3a/libsam3a.c: In function 'int sam3aSesStartHandshake(Sam3ASession*, void (*)(Sam3ASession*))':
src/libsam3a/libsam3a.c:936:22: error: invalid conversion from 'void (*)(Sam3ASession*)' to 'void*' [-fpermissive]
  936 |     ses->aio.udata = cbComplete;
      |                      ^~~~~~~~~~
      |                      |
      |                      void (*)(Sam3ASession*)

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