[so2] [Linux][Tema1] Warnings

Mihail Costea mihail.costea90 at gmail.com
Tue Mar 12 22:37:27 EET 2013


Primesc urmatoarele warning-uri la compilare:

include/linux/llist.h: In function ‘llist_add’:
include/linux/llist.h:160: warning: initialization makes pointer from
integer without a cast
include/linux/llist.h:160: warning: initialization makes pointer from
integer without a cast
/root/tema1/sci.c: In function ‘sci_interceptor’:
/root/tema1/sci.c:90: warning: format ‘%lx’ expects type ‘long
unsigned int’, but argument 3 has type ‘int’
/root/tema1/sci.c:90: warning: format ‘%lx’ expects type ‘long
unsigned int’, but argument 10 has type ‘int’
/root/tema1/sci.c:96: warning: format ‘%lx’ expects type ‘long
unsigned int’, but argument 3 has type ‘int’
/root/tema1/sci.c:96: warning: format ‘%lx’ expects type ‘long
unsigned int’, but argument 10 has type ‘int’

Nu stiu ce sa le fac fiindca nu constau in codul scris de mine.
Vom fi depuncatati si pentru acestea?

-- 
Mihail Costea


More information about the so2 mailing list