[sr-dev] mem compiler warnings on trunk

Camille Oudot camille.oudot at orange.com
Tue Jan 26 20:19:49 CET 2016


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



More information about the sr-dev mailing list