= Сообщение: 2521 из 3144 ================================= RU.LINUX.CHAINIK = От : Rinat H. Sadretdinow 2:5020/620 14 Apr 19 09:17:04 Кому : Brother Rabbit 14 Apr 19 09:17:04 Тема : qico FGHI : area://RU.LINUX.CHAINIK?msgid=2:5020/620+5cb2d189 На : area://RU.LINUX.CHAINIK?msgid=2:460/5858+5cb2bc7e = Кодировка сообщения определена как: CP866 ================================== ============================================================================== Hello Brother!
14 Apr 19 07:49, you wrote to me:
BR> ftn.c: In function 'mapname': BR> ftn.c:329:20: warning: format '%lx' expects argument of type 'long BR> unsigned int', but argument 4 has type 'UINT32 {aka unsigned int}' BR> [-Wformat=] BR> snprintf(fn+5,14,"%08lx%s",crc32s(fn),l); BR> ^
Hу тут надо просто 'l' убрать из формата "%08lx%s", сделать "%08x%s", тогда warning уйдёт.
BR> In function 'snprintf', BR> inlined from 'closeqpkt' at ftn.c:276:2: BR> /usr/include/bits/stdio2.h:64:10: error: call to BR> __builtin___snprintf_chk will always overflow destination buffer BR> return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BR> ^
А тут я уже советовал в предыдущем письме что сделать.