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

Changed type from int to size_t to fix implicit type conversion warning #132

Merged
merged 1 commit into from Jun 1, 2016

Conversation

BenedictC
Copy link
Contributor

@BenedictC BenedictC commented Jun 1, 2016

I encountered this warning when building for x64_86 with Xcode 7.3.

@jgm jgm merged commit 67617a5 into commonmark:master Jun 1, 2016
@jgm
Copy link
Member

jgm commented Jun 1, 2016

Thanks

jgm added a commit that referenced this pull request Jun 1, 2016
This is an alternate solution for pull request #132,
which introduced a new warning on the comparison:

    latex.c:191:20: warning: comparison of integers of
      different signs: 'size_t' (aka 'unsigned long') and 'bufsize_t'
      (aka 'int') [-Wsign-compare]
    if (realurllen == link_text->as.literal.len &&
        ~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~
CyberShadow pushed a commit to CyberShadow/cmark that referenced this pull request Apr 1, 2021
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.

None yet

2 participants