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

Fixed invalid conversion error #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kstenschke
Copy link

error was:
invalid conversion from ‘std::size_t ()(void, uint64_t, const void*, std::size_t) {aka long unsigned int ()(void, long unsigned int, const void*, long unsigned int)}’ to ‘mz_file_write_func {aka long unsigned int ()(void, long long unsigned int, const void*, long unsigned int)}’ [-fpermissive]
archive_->m_pWrite = &detail::write_callback;

error was:
invalid conversion from ‘std::size_t (*)(void*, uint64_t, const void*, std::size_t) {aka long unsigned int (*)(void*, long unsigned int, const void*, long unsigned int)}’ to ‘mz_file_write_func {aka long unsigned int (*)(void*, long long unsigned int, const void*, long unsigned int)}’ [-fpermissive]
         archive_->m_pWrite = &detail::write_callback;
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

Successfully merging this pull request may close these issues.

1 participant