Skip to content

CURLOPT: bump CURLALTSVC_* macros to long#18063

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:longopt
Closed

CURLOPT: bump CURLALTSVC_* macros to long#18063
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:longopt

Conversation

@vszakats
Copy link
Copy Markdown
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:

  • CURLALTSVC_H1
  • CURLALTSVC_H2
  • CURLALTSVC_H3
  • CURLALTSVC_READONLYFILE

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 CURLALTSVC_* macros to long, drop casts CURLOPT: bump CURLALTSVC_* macros to long Jul 28, 2025
@vszakats vszakats changed the title CURLOPT: bump CURLALTSVC_* macros to long CURLOPT: bump CURLALTSVC_* macros to long Jul 28, 2025
@vszakats vszakats closed this in d45b85d Jul 28, 2025
@vszakats vszakats deleted the longopt branch July 28, 2025 15:33
vszakats added a commit that referenced this pull request Aug 1, 2025
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