On Thu, Jun 05, 2025 at 08:13:09AM +0200, Daniel Stenberg wrote: > On Wed, 4 Jun 2025, Jeff King wrote: > > > It seems kind of weird to me that curl doesn't define these constants as > > longs, since the point of them is to pass to curl_easy_setopt(). > > Agreed. Mostly just because of my lack of imagination when I added them a > long time ago. Oh, OK. :) > We have over recent times updated several public option related defines to > better help applications to get int vs long right, but I have clearly missed > to do that for this particular set. > > I intend to fix this omission, but since you want to support building with > lots of old curl versions as well, this correction probably won't help you > for another decade or so... :-) Sounds like a good plan. But yeah, we'll want to continue with the casts here for a while. -Peff