From 29192481a8adb4e4f6f0a92a44e7cd3aaf1bb3cd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 14 May 2012 15:07:08 +0200 Subject: devfs: C++ compatibility --- cpukit/libfs/src/devfs/devfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libfs/src/devfs/devfs.h') diff --git a/cpukit/libfs/src/devfs/devfs.h b/cpukit/libfs/src/devfs/devfs.h index 758edf932b..64b86d44c1 100644 --- a/cpukit/libfs/src/devfs/devfs.h +++ b/cpukit/libfs/src/devfs/devfs.h @@ -59,7 +59,7 @@ static inline const devFS_data *devFS_get_data( const rtems_filesystem_location_info_t *loc ) { - return loc->mt_entry->immutable_fs_info; + return (const devFS_data *) loc->mt_entry->immutable_fs_info; } extern void devFS_eval_path( -- cgit v1.2.3