From cffed6fbbee73d804b0773c34e2d150446a8ee81 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 21 Nov 2004 22:30:55 +0000 Subject: [PATCH] Add cast to make this possible to compile via g++ --- example/iso1.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/iso1.c b/example/iso1.c index 710609e1..ec37ee90 100644 --- a/example/iso1.c +++ b/example/iso1.c @@ -1,5 +1,5 @@ /* - $Id: iso1.c,v 1.1 2004/10/10 00:21:08 rocky Exp $ + $Id: iso1.c,v 1.2 2004/11/21 22:30:55 rocky Exp $ Copyright (C) 2004 Rocky Bernstein @@ -69,7 +69,8 @@ main(int argc, const char *argv[]) _CDIO_LIST_FOREACH (entnode, entlist) { char filename[4096]; - iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); + iso9660_stat_t *p_statbuf = + (iso9660_stat_t *) _cdio_list_node_data (entnode); iso9660_name_translate(p_statbuf->filename, filename); printf ("/%s\n", filename); }