[DVDnav-discuss] Fix C++ compilation issue in the headers
Thorsten Wilmer
git at videolan.org
Fri May 2 19:58:31 CEST 2014
libdvdnav | branch: master | Thorsten Wilmer <wilmer.thorsten at gmail.com> | Thu May 1 15:21:28 2014 +0530| [459b5729475fdc33fe63b2345d7472cb81380888] | committer: Jean-Baptiste Kempf
Fix C++ compilation issue in the headers
this is a keyword in C++, therefore ... dvdnav/dvdnav.h:93:43: error: expected ‘,’ or ‘...’ before ‘this’
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/libdvdnav.git/?a=commit;h=459b5729475fdc33fe63b2345d7472cb81380888
---
src/dvdnav/dvdnav.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dvdnav/dvdnav.h b/src/dvdnav/dvdnav.h
index f9ded31..4254534 100644
--- a/src/dvdnav/dvdnav.h
+++ b/src/dvdnav/dvdnav.h
@@ -84,7 +84,7 @@ typedef int32_t dvdnav_status_t;
dvdnav_status_t dvdnav_open(dvdnav_t **dest, const char *path);
dvdnav_status_t dvdnav_dup(dvdnav_t **dest, dvdnav_t *src);
-dvdnav_status_t dvdnav_free_dup(dvdnav_t *this);
+dvdnav_status_t dvdnav_free_dup(dvdnav_t * _this);
/*
* Closes a dvdnav_t previously opened with dvdnav_open(), freeing any
More information about the DVDnav-discuss
mailing list