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: passing argument 1 of ‘write_buffer_with_func’ from incompatible pointer type #73

Closed
ra1nb0w opened this issue May 13, 2024 · 3 comments

Comments

@ra1nb0w
Copy link

ra1nb0w commented May 13, 2024

building the latest version (1.3.0) on archlinux I get the following error:

../src/files.c:400:48: error: passing argument 1 of ‘write_buffer_with_func’ from incompatible pointer type [-Wincompatible-pointer-types]
  400 |                         write_buffer_with_func(write_ascii_file);
      |                                                ^~~~~~~~~~~~~~~~
      |                                                |
      |                                                void (*)(char *, unsigned int)
@ne0h
Copy link
Contributor

ne0h commented May 13, 2024

Same for me. Possible fix: #74

ne0h added a commit to ne0h/gtkterm that referenced this issue May 13, 2024
wvdakker added a commit that referenced this issue May 13, 2024
fix incompatible pointer type (issue #73)
@ne0h
Copy link
Contributor

ne0h commented May 14, 2024

@ra1nb0w, issue should be fixed.

@ra1nb0w
Copy link
Author

ra1nb0w commented Jul 25, 2024

fixed. thank you!

@ra1nb0w ra1nb0w closed this as completed Jul 25, 2024
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

2 participants