fixed compiler warnings

This commit is contained in:
Niclas Finne 2011-12-13 17:35:04 +01:00
parent 3661ff242e
commit c0cf69ecbd
3 changed files with 6 additions and 2 deletions

View file

@ -189,7 +189,7 @@ xmem_pread(void *_p, int size, unsigned long offset)
return size;
}
/*---------------------------------------------------------------------------*/
static const char *
static const unsigned char *
program_page(unsigned long offset, const unsigned char *p, int nbytes)
{
const unsigned char *end = p + nbytes;