summaryrefslogtreecommitdiffstats
path: root/src/ntfs_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2017-04-03 18:08:49 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2017-04-03 18:08:49 +0200
commita2736fe5ebd1e39a22ed32ac06177a2bc7d014ce (patch)
tree62bfd51077aa81cb13f021f1dcc16f7d7cb6b78d /src/ntfs_dir.c
parent3a0f3c7fbf7c39452a5d756ddb591e54ff567867 (diff)
Use explicit function adresses
See MISRA C:2004, 16.9
Diffstat (limited to 'src/ntfs_dir.c')
-rw-r--r--src/ntfs_dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ntfs_dir.c b/src/ntfs_dir.c
index 6c2869b..43cc55a 100644
--- a/src/ntfs_dir.c
+++ b/src/ntfs_dir.c
@@ -525,8 +525,8 @@ dir_partition_t dir_partition_ntfs_init(disk_t *disk_car, const partition_t *par
dir_data->param=FLAG_LIST_ADS;
dir_data->verbose=verbose;
dir_data->capabilities=CAPA_LIST_ADS;
- dir_data->get_dir=ntfs_dir;
- dir_data->copy_file=ntfs_copy;
+ dir_data->get_dir=&ntfs_dir;
+ dir_data->copy_file=&ntfs_copy;
dir_data->close=&dir_partition_ntfs_close;
dir_data->local_dir=NULL;
dir_data->private_dir_data=ls;