Skip to content

C4267 conversion from 'size_t' to 'int'#333

Closed
dmex wants to merge 7 commits into
michaelrsweet:masterfrom
dmex:master
Closed

C4267 conversion from 'size_t' to 'int'#333
dmex wants to merge 7 commits into
michaelrsweet:masterfrom
dmex:master

Conversation

@dmex

@dmex dmex commented Nov 13, 2024

Copy link
Copy Markdown

This PR updates some types to avoid warnings for C4267: conversion from 'size_t' to 'int' when compiling with MSVC

@michaelrsweet michaelrsweet left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No objection to some of the changes, but the public APIs cannot be changed.

Comment thread mxml-index.c
Comment thread mxml-node.c
Comment thread mxml-node.c
Comment thread mxml.h
michaelrsweet added a commit that referenced this pull request Nov 14, 2024
@michaelrsweet

Copy link
Copy Markdown
Owner

Acceptable changes have been pushed, along with a workaround for the reference counting:

[master 5e35d50] Fix compiler warnings (Issue #333)

(unlikely to ever be an issue given the limits of available virtual memory)

@michaelrsweet michaelrsweet self-assigned this Nov 14, 2024
@michaelrsweet michaelrsweet added bug Something isn't working priority-low labels Nov 14, 2024
@michaelrsweet michaelrsweet added this to the Stable milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority-low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants