diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-05 13:43:01 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-05 13:43:01 +1000 |
commit | fe684ef291f69d7ac517e0338a2605635ccd6f4c (patch) | |
tree | 5ed04413fd33f92e5b1db974b938fc05057ccd74 /file_io | |
parent | hello: Fix the waf script. (diff) | |
download | rtems-examples-fe684ef291f69d7ac517e0338a2605635ccd6f4c.tar.bz2 |
Clean up warnings.
Diffstat (limited to 'file_io')
-rw-r--r-- | file_io/crc/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/file_io/crc/init.c b/file_io/crc/init.c index 83c423c..015da47 100644 --- a/file_io/crc/init.c +++ b/file_io/crc/init.c @@ -35,11 +35,11 @@ rtems_task Init( puts( "\n\n*** untar/imfs/crc example ***" ); printf("Unpacking tar filesystem\nThis may take awhile...\n"); - if(Untar_FromMemory(FilesystemImage, FilesystemImage_size) != 0) { + if(Untar_FromMemory((char*) FilesystemImage, FilesystemImage_size) != 0) { printf("Can't unpack tar filesystem\n"); exit(1); } - + crc32file(in_file,&crc, &charcnt); printf("%08lX %7ld %s\n", crc, charcnt, in_file); |