id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2221	Compilation from master git clone fails in mc-4.7.2	david_sastre		"Hello,
I've cloned git repo today:

$ git clone git://repo.or.cz/midnight-commander.git
$ cd midnight-commander/
$ ./autogen.sh
$ source /etc/make.conf ; export CFLAGS=""${CFLAGS} -ggdb3"";
./configure --enable-extcharset --enable-vfs-cpio --enable-vfs-tar
--enable-vfs-ftp --enable-vfs-fish --enable-vfs-extfs --enable-vfs-sfs --enable-vfs-undelfs --enable-vfs-mcfs --enable-netcode --enable-mcserver --enable-background --enable-charset --enable-werror --with-gnu-ld --with-x --with-gpm-mouse --with-search-engine=pcre
$ make -j4

Compilation failed issuing:

option.c:213: error: format `%ld' expects type `long int', but argument 4 has type `int' [-Wformat]

I checked that (note that I'm no C expert):

option.c:213: g_snprintf (time_out, sizeof (time_out), ""%ld"", old_esc_mode_timeout);

lib/tty/key.c:492: int old_esc_mode_timeout = 1000000;

This is a Linux ghost 2.6.26-2-686-bigmem Tue Mar 9 18:01:52 UTC 2010 i686 GNU/Linux box.

"	defect	closed	major		mc-core		invalid		david_sastre				
