aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2007-09-04 19:39:35 +0000
committerTorbjörn Andersson2007-09-04 19:39:35 +0000
commit4d30763ab91a450db439440897e45757b87e1352 (patch)
tree01978df62bb2f0bd7ed7d5bcb7607020140b8916 /engines
parent6391965d3b6b232b95c4ecb1228acdafcb82a6fb (diff)
downloadscummvm-rg350-4d30763ab91a450db439440897e45757b87e1352.tar.gz
scummvm-rg350-4d30763ab91a450db439440897e45757b87e1352.tar.bz2
scummvm-rg350-4d30763ab91a450db439440897e45757b87e1352.zip
Fixed some warnings.
svn-id: r28852
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: