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/lure/surface.cpp | |
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/lure/surface.cpp')
-rw-r--r-- | engines/lure/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index 4eec088fdf..0065c608fc 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -371,7 +371,7 @@ Surface *Surface::newDialog(uint16 width, const char *line, uint8 colour) { wordWrap(lineCopy, width - (DIALOG_EDGE_SIZE + 3) * 2, lines, numLines); // Create the dialog - Surface *result = newDialog(width, numLines, (const char **) lines, true, colour); + Surface *result = newDialog(width, numLines, const_cast<const char **>(lines), true, colour); // Deallocate used resources free(lines); |