This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog cp-valprint.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-04-19 15:36:24

Modified files:
	gdb            : ChangeLog cp-valprint.c 

Log message:
	-Wpointer-sign: cp-valprint.c.
	
	Fix:
	
	../../src/gdb/cp-valprint.c: In function âcp_print_class_memberâ:
	../../src/gdb/cp-valprint.c:793:3: error: pointer targets in passing argument 2 of âcp_find_class_memberâ differ in signedness [-Werror=pointer-sign]
	../../src/gdb/cp-valprint.c:721:1: note: expected âint *â but argument is of type âunsigned int *â
	
	'fieldno' is used throughout as 'int', so just follow the trend.
	
	gdb/
	2013-04-19  Pedro Alves  <palves@redhat.com>
	
	* cp-valprint.c (cp_print_class_member): Change type of 'fieldno'
	local to int.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15455&r2=1.15456
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cp-valprint.c.diff?cvsroot=src&r1=1.89&r2=1.90


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]