Re: [hatari-devel] 2 warnings while compiling

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Here is the result :

[ 48%] Building C object src/CMakeFiles/hatari.dir/fdc.c.o
/home/laurent/Atari/hatari/src/fdc.c: In function ‘FDC_IndexPulse_Update’:
/home/laurent/Atari/hatari/src/fdc.c:1319:3: attention : format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘Uint64’ [-Wformat]
/home/laurent/Atari/hatari/src/fdc.c: In function ‘FDC_IndexPulse_Init’:
/home/laurent/Atari/hatari/src/fdc.c:1353:2: attention : format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘Uint64’ [-Wformat]



Laurent



Le 27/12/2013 23:30, Nicolas Pomarède a écrit :
Le 27/12/2013 23:24, Laurent Sallafranque a écrit :
Hi,

While compiling hatari, I get the 2 following warnings :

[ 59%] Building C object src/CMakeFiles/hatari.dir/fdc.c.o
/home/laurent/Atari/hatari/src/fdc.c: In function ‘FDC_IndexPulse_Update’:
/home/laurent/Atari/hatari/src/fdc.c:1319:3: attention : format ‘%lld’
expects argument of type ‘long long int’, but argument 6 has type
‘Uint64’ [-Wformat]
/home/laurent/Atari/hatari/src/fdc.c: In function ‘FDC_IndexPulse_Init’:
/home/laurent/Atari/hatari/src/fdc.c:1353:2: attention : format ‘%lld’
expects argument of type ‘long long int’, but argument 6 has type
‘Uint64’ [-Wformat]

Hi

I don't have this error, can you change %lld to %llu to see ?







Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/