Index: flash/synth/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/devs/flash/synth/current/ChangeLog,v retrieving revision 1.6 diff -u -r1.6 ChangeLog --- flash/synth/current/ChangeLog 27 Mar 2005 18:22:40 -0000 1.6 +++ flash/synth/current/ChangeLog 3 Aug 2005 20:42:43 -0000 @@ -1,3 +1,12 @@ +2005-08-02 Andrew Lunn + + * tests/flash1.c (cyg_user_start): Fix a compiler warning about + signedness of pointers. + +2005-07-30 Andrew Lunn + + * src/synth.c (flash_hwr_init): Cast to keep the compiler happy. + 2005-03-27 Andrew Lunn * tests/flash1.c: gcc 3.x does not like string continuing Index: flash/synth/current/src/synth.c =================================================================== RCS file: /cvs/ecos/ecos/packages/devs/flash/synth/current/src/synth.c,v retrieving revision 1.4 diff -u -r1.4 synth.c --- flash/synth/current/src/synth.c 15 Dec 2004 14:00:38 -0000 1.4 +++ flash/synth/current/src/synth.c 3 Aug 2005 20:42:43 -0000 @@ -109,7 +109,7 @@ } cyg_dev_flash_synth_base = (flash_t *)cyg_hal_sys_mmap( #ifdef CYGMEM_FLASH_SYNTH_BASE - CYGMEM_FLASH_SYNTH_BASE, + (void *)CYGMEM_FLASH_SYNTH_BASE, #else NULL, #endif Index: flash/synth/current/tests/flash1.c =================================================================== RCS file: /cvs/ecos/ecos/packages/devs/flash/synth/current/tests/flash1.c,v retrieving revision 1.5 diff -u -r1.5 flash1.c --- flash/synth/current/tests/flash1.c 27 Mar 2005 18:22:41 -0000 1.5 +++ flash/synth/current/tests/flash1.c 3 Aug 2005 20:42:44 -0000 @@ -133,7 +133,7 @@ CYG_TEST_PASS_FAIL((ret == 0),"flash program overrun check"); /* Program over a block boundary */ - prog_start = (unsigned char *)flash_start + block_size - sizeof(copyright)/2; + prog_start = (char *)flash_start + block_size - sizeof(copyright)/2; ret = flash_program(prog_start,©right,sizeof(copyright),NULL); CYG_TEST_PASS_FAIL((ret == FLASH_ERR_OK),"flash_program2");