Hi,

On Mon, Nov 11, 2024 at 02:31:48PM +0100, Antonio Quartulli wrote:
> > -        options->renegotiate_bytes = positive_atoi(p[1]);
> > +        char *end;
> > +        long long reneg_bytes = strtoll(p[1], &end, 10);
> 
> why int64_t in options.h and long long here?
> I think they should always match in size, but why not use it consistently?

Because strtoll() is documented to return "long long"...

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to