Skip to content

CURLOPT: bump CURLHEADER_* macros to long, drop casts#18055

Closed
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:CURLHEADER
Closed

CURLOPT: bump CURLHEADER_* macros to long, drop casts#18055
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:CURLHEADER

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jul 28, 2025

This patch bumps the size of these macros from int to long, while
keeping their actual values the same. It may cause incompatibilities in
user code, requiring the bump of holder variables and/or adding casts:

  • CURLHEADER_SEPARATE
  • CURLHEADER_UNIFIED

Also:

  • keep existing cast within the documentation to make sure it applies
    to older curl versions as well.

@vszakats vszakats changed the title CURLOPT: bump CURLHEADER_* macros to long, drop casts CURLOPT: bump CURLHEADER_* macros to long, drop casts Jul 28, 2025
@vszakats vszakats closed this in 113f6aa Jul 28, 2025
@vszakats vszakats deleted the CURLHEADER branch July 28, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant

Comments