1
0
Fork 0

some vs2005 fixes

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2363
This commit is contained in:
Peter Veenstra 2005-11-01 11:09:14 +00:00
parent 4f7f239142
commit 4a6719a725
2 changed files with 10 additions and 10 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: cdrom_image.cpp,v 1.9 2005-07-19 19:45:16 qbix79 Exp $ */
/* $Id: cdrom_image.cpp,v 1.10 2005-11-01 11:09:14 qbix79 Exp $ */
#include <cctype>
#include <cmath>
@ -391,7 +391,7 @@ bool CDROM_Interface_Image::CanReadPVD(TrackFile *file, int sectorSize, bool mod
}
#if defined(WIN32)
static string dirname(const char * file) {
static string dirname(char * file) {
char * sep = strrchr(file, '\\');
if (sep == NULL)
sep = strrchr(file, '/');