On Thu, 26 Jan 2017 08:19:02 +0000
Hick Gunter <h...@scigames.at> wrote:

> On LP_64 architactures, the integer 0 is 32 bits while (void *)0 is
> 64 bits, which makes more than a bit of a difference. A 64 bit
> integer 0 would be denoted by 0L. 

in C, as you know, integer assignment is subject to integer promotion.
If the LHS is wider, the RHS is widened to match.  The specification is
much more precise, of course, but that's the effect.  

There's nothing invalid of ambiguous about:

        long L = '\0';

It is the same as 

        long L = 0L;

The same is true for pointers.  

--jkl
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to