diff options
author | Torbjörn Andersson | 2007-02-01 20:16:32 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-02-01 20:16:32 +0000 |
commit | 0a18259d78f59a79270467a6fa70172e5d96b625 (patch) | |
tree | c2c582918f20c248fc1bc7a17c8fd59de7351d1f /engines/cine | |
parent | 586a01d03807cd870b4f6cf6467d88bd8f1ea3d9 (diff) | |
download | scummvm-rg350-0a18259d78f59a79270467a6fa70172e5d96b625.tar.gz scummvm-rg350-0a18259d78f59a79270467a6fa70172e5d96b625.tar.bz2 scummvm-rg350-0a18259d78f59a79270467a6fa70172e5d96b625.zip |
Used Fingolfin's workaround for a bogus (?) warning produced by some versions
of GCC. (Not the one he's using, though, which is why I'm doing this instead.)
svn-id: r25327
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/texte.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/texte.cpp b/engines/cine/texte.cpp index b1b959a80c..226dda2eb6 100644 --- a/engines/cine/texte.cpp +++ b/engines/cine/texte.cpp @@ -573,7 +573,7 @@ void loadErrmessDat(const char *fname) { ptr[i] = (char *)ptr + (sizeof(char *) * 6 * 4) + 60 * i; in.read(ptr[i], 60); } - failureMessages = (const char **)ptr; + failureMessages = const_cast<const char **>(ptr); in.close(); } else { |