Changeset 848 – HoverRace

Changeset 848

Show
Ignore:
Timestamp:
02/04/10 15:17:15 (5 weeks ago)
Author:
ryan
Message:

Fix typecasting issues for compiler pedantry (not pedancy)

Location:
trunk/compilers/ResourceCompiler
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/compilers/ResourceCompiler/BitmapHelper.cpp

    r294 r848  
    3838        } 
    3939        else { 
    40                 char *lExtension = strrchr(lFileName, '.'); 
     40                const char *lExtension = strrchr(lFileName, '.'); 
    4141 
    4242                if(!strcmpi(lExtension, ".PCX")) { 
  • trunk/compilers/ResourceCompiler/ResSoundBuilder.cpp

    r31 r848  
    4040{ 
    4141        mNbCopy = pNbCopy; 
    42         return ParseFile(pFile, mData, mDataLen); 
     42        return ParseFile(pFile, (const char *&) mData, mDataLen); 
    4343} 
    4444 
     
    5252{ 
    5353        mNbCopy = pNbCopy; 
    54         return ParseFile(pFile, mData, mDataLen); 
     54        return ParseFile(pFile, (const char *&) mData, mDataLen); 
    5555} 
    5656