summaryrefslogtreecommitdiff
path: root/isofs/inode.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 13:47:32 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 13:49:00 +0200
commitbad88e5d4bc1d8223d96c7225752a70c6b023768 (patch)
treee609ea5d9c448dcb68cf62f67d9c517c0a52bb12 /isofs/inode.c
parentb2f4e7d704a37655a845af180df5b0d486cf78c4 (diff)
Fix gcc warning
* isofs/inode.c (read_disknode): Cast dr->date into char* before calling `isodate_915`.
Diffstat (limited to 'isofs/inode.c')
-rw-r--r--isofs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isofs/inode.c b/isofs/inode.c
index d848908b..f9d4c417 100644
--- a/isofs/inode.c
+++ b/isofs/inode.c
@@ -430,7 +430,7 @@ read_disknode (struct node *np, struct dirrect *dr,
!= (TF_CREATION|TF_ACCESS|TF_MODIFY)))
{
struct timespec ts;
- isodate_915 (dr->date, &ts);
+ isodate_915 ((char *) dr->date, &ts);
st->st_ctim = st->st_mtim = st->st_atim = ts;
}