mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
fixed compilation
svn-id: r38599
This commit is contained in:
parent
5066e2c4be
commit
823d924064
@ -380,7 +380,7 @@ int scir_add_appropriate_sources(ResourceManager *mgr) {
|
||||
|
||||
for (Common::ArchiveMemberList::const_iterator x = files.begin(); x != files.end(); ++x) {
|
||||
const Common::String name = (*x)->getName();
|
||||
char *dot = strrchr(name.c_str(), '.');
|
||||
const char *dot = strrchr(name.c_str(), '.');
|
||||
int number = atoi(dot + 1);
|
||||
|
||||
scir_add_volume(mgr, map, name.c_str(), number, 0);
|
||||
|
@ -164,7 +164,7 @@ sci1_read_resource_patches(ResourceSource *source, resource_t **resource_p, int
|
||||
int resnumber = -1;
|
||||
int i;
|
||||
char *endptr;
|
||||
char *dot = strchr(name.c_str(), '.');
|
||||
const char *dot = strchr(name.c_str(), '.');
|
||||
|
||||
for (i = sci_view; i < sci_invalid_resource; i++) {
|
||||
if (dot != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user