aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/drascula/drascula.cpp6
-rw-r--r--engines/drascula/drascula.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 6e344c220d..a31ac982ae 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -1497,7 +1497,7 @@ void DrasculaEngine::carga_escoba_1(const char *nom_fich) {
if (!strcmp(num_room, "54.alg")) {
for (l = suelo_y1 - 1; l > 84; l--) {
- factor_red[l] = lejos - pequegnez;
+ factor_red[l] = (int)(lejos - pequegnez);
pequegnez = pequegnez + chiquez;
}
}
@@ -8495,7 +8495,7 @@ void DrasculaEngine::pantalla_56(int fl) {
hay_respuesta = 0;
}
-void DrasculaEngine::habla_lobo(char dicho[], char filename[]) {
+void DrasculaEngine::habla_lobo(const char *dicho, const char *filename) {
int tiempou;
long tiempol;
@@ -8560,7 +8560,7 @@ bucless:
VUELCA_PANTALLA(0, 0, 0, 0, 320, 200, dir_zona_pantalla);
}
-void DrasculaEngine::habla_mus(char dicho[], char filename[]) {
+void DrasculaEngine::habla_mus(const char *dicho, const char *filename) {
int tiempou;
long tiempol;
diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h
index 0c0de75e92..283b976796 100644
--- a/engines/drascula/drascula.h
+++ b/engines/drascula/drascula.h
@@ -730,8 +730,8 @@ public:
void refresca_50();
void refresca_57();
void habla_igor_sentado(const char *, const char *);
- void habla_lobo(char dicho[], char filename[]);
- void habla_mus(char dicho[], char filename[]);
+ void habla_lobo(const char *dicho, const char *filename);
+ void habla_mus(const char *dicho, const char *filename);
private: