[Scummvm-cvs-logs] SF.net SVN: scummvm: [28852] scummvm/trunk/engines/drascula
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue Sep 4 21:39:35 CEST 2007
Revision: 28852
http://scummvm.svn.sourceforge.net/scummvm/?rev=28852&view=rev
Author: eriktorbjorn
Date: 2007-09-04 12:39:35 -0700 (Tue, 04 Sep 2007)
Log Message:
-----------
Fixed some warnings.
Modified Paths:
--------------
scummvm/trunk/engines/drascula/drascula.cpp
scummvm/trunk/engines/drascula/drascula.h
Modified: scummvm/trunk/engines/drascula/drascula.cpp
===================================================================
--- scummvm/trunk/engines/drascula/drascula.cpp 2007-09-04 17:26:38 UTC (rev 28851)
+++ scummvm/trunk/engines/drascula/drascula.cpp 2007-09-04 19:39:35 UTC (rev 28852)
@@ -1497,7 +1497,7 @@
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 @@
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 @@
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;
Modified: scummvm/trunk/engines/drascula/drascula.h
===================================================================
--- scummvm/trunk/engines/drascula/drascula.h 2007-09-04 17:26:38 UTC (rev 28851)
+++ scummvm/trunk/engines/drascula/drascula.h 2007-09-04 19:39:35 UTC (rev 28852)
@@ -730,8 +730,8 @@
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:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list