[sr-dev] mem compiler warnings on trunk

Ovidiu Sas osas at voipembedded.com
Tue Jan 26 22:03:00 CET 2016


$ ./a.out
4 4

On Tue, Jan 26, 2016 at 2:19 PM, Camille Oudot <camille.oudot at orange.com> wrote:
> Le Tue, 26 Jan 2016 09:10:21 -0500,
> Ovidiu Sas <osas at voipembedded.com> a écrit :
>
>> sizeof(size_t) returns 'unsigned int'
>> sizeof(unsigned long) returns 'unsigned int'
>
> Hi,
>
> I meant the output of a C program such as:
>
>     #include <stdio.h>
>
>     int main(void) {
>         printf("%zd %zd\n",
>             sizeof(size_t),
>             sizeof(unsigned long));
>         return 0;
>     }
>
> --
> Camille



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the sr-dev mailing list