mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-27 06:18:42 +08:00
devfs: C++ compatibility
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user