--- Frodo4/Src/1541fs.cpp 2004/01/12 15:13:20 1.6 +++ Frodo4/Src/1541fs.cpp 2005/06/27 19:55:48 1.9 @@ -1,7 +1,7 @@ /* * 1541fs.cpp - 1541 emulation in host file system * - * Frodo (C) 1994-1997,2002-2004 Christian Bauer + * Frodo (C) 1994-1997,2002-2005 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -55,7 +55,7 @@ static bool match(const char *p, const c * Constructor: Prepare emulation */ -FSDrive::FSDrive(IEC *iec, char *path) : Drive(iec) +FSDrive::FSDrive(IEC *iec, const char *path) : Drive(iec) { strcpy(orig_dir_path, path); dir_path[0] = 0; @@ -325,7 +325,7 @@ uint8 FSDrive::open_directory(int channe // Convert pattern to ASCII char ascii_pattern[NAMEBUF_LENGTH]; - petscii2ascii(ascii_pattern, (const char *)pattern, NAMEBUF_LENGTH); + petscii2ascii(ascii_pattern, pattern, NAMEBUF_LENGTH); // Open directory for reading and skip '.' and '..' if ((dir = opendir(dir_path)) == NULL) {