Hi,
On Sat, Jun 23, 2018 at 1:31 PM, Gert Doering <g...@greenie.muc.de> wrote:
> Hi,
>
> On Sat, Jun 23, 2018 at 02:15:03PM +0200, Gert Doering wrote:
> > Some basic integer tests to verify signed, unsigned and
> > long unsigned (2^33) printing.
>
> Ditch that patch... this only works on 64bit systems.
>
Most 64 bit systems (excluding Windows)
>
> What I wanted to see is "yes, it really does long math", but on systems
> where sizeof(int) = sizeof(long) = 4, this will just not do the right
> thing.
>
> Do we care?
>
> Or shall I just have it print "1", so we know "%lu works and prints its
> argument nicely"?
>
That should be enough, but we could get fancy and use -1L and compare
the result against sprintf(str, "%lu", -1L)
Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel