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

Small sizeof issue #94

Closed
p0nce opened this issue Sep 30, 2019 · 1 comment
Closed

Small sizeof issue #94

p0nce opened this issue Sep 30, 2019 · 1 comment
Labels

Comments

@p0nce
Copy link

p0nce commented Sep 30, 2019

So I've ported md4c to the D language (https://github.com/p0nce/commonmark-d) and while translating I found a little mistake here:

https://github.com/mity/md4c/blob/master/md4c/md4c.c#L1690

I think you might mean:
sizeof(MD_REF_DEF*)
instead of:
sizeof(MD_REF_DEF)
which takes more memory.

Same issue here: https://github.com/mity/md4c/blob/master/md4c/md4c.c#L1707

and that's all I found. Amazing library!

@mity mity added the bug label Oct 3, 2019
@mity mity closed this as completed in 728f2af Oct 3, 2019
@mity
Copy link
Owner

mity commented Oct 3, 2019

Thanks for the bug report.

Nice to know about the port. I have added a link to it into README.md.

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

No branches or pull requests

2 participants