On Sun, 20 Apr 2014 20:13:02 +0100
sin <sin_AT_2f30.org> wrote:
> You are missing the parentheses there.
>
> Your macro provides the wrong answer for something like:
>
> int a[] = { 1, 2, 3, 4, 5 };
> printf("%zu\n", LEN(a + 2));
Ah, that's right!
Thanks for noting this.
Cheers
FRIGN
--
FRIGN <dev_AT_frign.de>
Received on Sun Apr 20 2014 - 21:15:07 CEST