scim/scim-1.4.9-gcc44.patch

13 lines
471 B
Diff

diff -Nru scim-1.4.9.orig/src/ltdl.cpp scim-1.4.9/src/ltdl.cpp
--- scim-1.4.9.orig/src/ltdl.cpp 2008-11-02 07:42:40.000000000 +0100
+++ scim-1.4.9/src/ltdl.cpp 2009-06-15 02:09:57.000000000 +0200
@@ -3373,7 +3373,7 @@
assert (filename);
len = LT_STRLEN (filename);
- ext = strrchr (filename, '.');
+ ext = strrchr ((char*)filename, '.');
/* If FILENAME already bears a suitable extension, there is no need
to try appending additional extensions. */