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

C++ compile error in codec_descriptor.h #44

Closed
achaloyan opened this issue Jul 10, 2015 · 3 comments
Closed

C++ compile error in codec_descriptor.h #44

achaloyan opened this issue Jul 10, 2015 · 3 comments

Comments

@achaloyan
Copy link
Contributor

Originally reported on Google Code with ID 44

Hi Arsen,
I have found a minor issue while compiling our plugin in C++. In inline
function mpf_codec_descriptor_create on line 129, there must be explicit
type-cast in C++. I know the project is written in C, but support for C++
might be useful not only for me.

Patch:
129-    mpf_codec_descriptor_t *descriptor =
apr_palloc(pool,sizeof(mpf_codec_descriptor_t));
129+    mpf_codec_descriptor_t *descriptor = (mpf_codec_descriptor_t
*)apr_palloc(pool,sizeof(mpf_codec_descriptor_t));

Thanks.
- Vali

Reported by tomas.valenta@speechtech.cz on 2009-09-28 17:38:17

@achaloyan achaloyan self-assigned this Jul 10, 2015
@achaloyan
Copy link
Contributor Author

Hi Vali,
Completely agreed, fixed in r1153!

Thank you,
Arsen.

Reported by achaloyan on 2009-09-28 18:41:56

  • Status changed: Fixed
  • Labels added: Type-Defect, Component-Build, Priority-Low

@achaloyan
Copy link
Contributor Author

Good job in great time! Verified, works well.
Vali

Reported by tomas.valenta@speechtech.cz on 2009-09-28 21:16:16

@achaloyan
Copy link
Contributor Author

Reported by achaloyan on 2009-10-05 16:29:47

  • Status changed: Verified

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

No branches or pull requests

1 participant