Index: io/serial/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/io/serial/current/ChangeLog,v retrieving revision 1.67 diff -u -r1.67 ChangeLog --- io/serial/current/ChangeLog 3 Sep 2005 13:01:43 -0000 1.67 +++ io/serial/current/ChangeLog 9 May 2006 16:07:45 -0000 @@ -1,3 +1,8 @@ +2006-05-09 Andrew Lunn + + * src/common/tty.c (tty_init): Fix compiler warning with + diag_printf() arguments. + 2005-09-02 Sebastien Couret * src/common/termiostty.c and Index: io/serial/current/src/common/tty.c =================================================================== RCS file: /cvs/ecos/ecos/packages/io/serial/current/src/common/tty.c,v retrieving revision 1.12 diff -u -r1.12 tty.c --- io/serial/current/src/common/tty.c 30 Jul 2005 11:52:40 -0000 1.12 +++ io/serial/current/src/common/tty.c 9 May 2006 16:07:46 -0000 @@ -132,7 +132,7 @@ { struct tty_private_info *priv = (struct tty_private_info *)tab->priv; #ifdef CYGDBG_IO_INIT - diag_printf("Init tty channel: %x\n", tab); + diag_printf("Init tty channel: %p\n", tab); #endif priv->dev_info.tty_out_flags = CYG_TTY_OUT_FLAGS_DEFAULT; priv->dev_info.tty_in_flags = CYG_TTY_IN_FLAGS_DEFAULT;