diff options
Diffstat (limited to 'mpeglib/lib/input/cdromRawAccess.cpp')
-rw-r--r-- | mpeglib/lib/input/cdromRawAccess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpeglib/lib/input/cdromRawAccess.cpp b/mpeglib/lib/input/cdromRawAccess.cpp index b0df4747..e23158f6 100644 --- a/mpeglib/lib/input/cdromRawAccess.cpp +++ b/mpeglib/lib/input/cdromRawAccess.cpp @@ -55,7 +55,7 @@ int CDRomRawAccess::open(const char* filename) { if (strlen(filename) <= 1) { filename="/dev/cdrom"; } - char* openfile=strchr(filename,'/'); + const char* openfile=strchr(filename,'/'); cout << "openfile:"<<openfile<<endl; cdfile=fopen(openfile, "rb"); lOpen=false; |