summaryrefslogtreecommitdiff
path: root/filesystem
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-09-05 13:43:01 +1000
committerChris Johns <chrisj@rtems.org>2014-09-05 13:43:01 +1000
commitfe684ef291f69d7ac517e0338a2605635ccd6f4c (patch)
tree5ed04413fd33f92e5b1db974b938fc05057ccd74 /filesystem
parentd1f602eb2752cb9305300622e48df90a883c5ceb (diff)
Clean up warnings.
Diffstat (limited to 'filesystem')
-rw-r--r--filesystem/fat_ramdisk/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem/fat_ramdisk/init.c b/filesystem/fat_ramdisk/init.c
index 5a52d27..2fff705 100644
--- a/filesystem/fat_ramdisk/init.c
+++ b/filesystem/fat_ramdisk/init.c
@@ -56,7 +56,7 @@ int setup_ramdisk (const char* mntpath)
{
rtems_device_major_number major;
rtems_status_code sc;
-
+
/*
* Register the RAM Disk driver.
*/
@@ -111,7 +111,7 @@ rtems_task Init(
puts( "\n\n*** ramdisk/fat 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);
}