1 diff -Nur orig/src/dialogs/export.cpp chng/src/dialogs/export.cpp
2 --- orig/src/dialogs/export.cpp 2008-03-11 05:19:54.000000000 +0100
3 +++ chng/src/dialogs/export.cpp 2009-05-26 11:58:15.000000000 +0200
8 - dot = strrchr (filename, '.');
9 + dot = (gchar*)strrchr (filename, '.');
11 return g_strconcat (filename, ".", extension, NULL);
13 diff -Nur orig/src/document.cpp chng/src/document.cpp
14 --- orig/src/document.cpp 2008-03-11 05:20:34.000000000 +0100
15 +++ chng/src/document.cpp 2009-05-26 11:36:28.000000000 +0200
19 if ( NULL != document_language ) {
20 - gchar *pos = strchr(document_language, '_');
21 + gchar *pos = (gchar*)strchr(document_language, '_');
23 return Glib::ustring(document_language, pos - document_language);
25 diff -Nur orig/src/prefix.cpp chng/src/prefix.cpp
26 --- orig/src/prefix.cpp 2008-03-11 05:20:27.000000000 +0100
27 +++ chng/src/prefix.cpp 2009-05-26 11:37:09.000000000 +0200
30 br_return_val_if_fail (path != (char*)NULL, (char*)NULL);
32 - end = strrchr (path, '/');
33 + end = (gchar*)strrchr (path, '/');
34 if (!end) return strdup (".");
36 while (end > path && *end == '/')
38 br_return_val_if_fail (path != (char*)NULL, (char*)NULL);
40 if (!*path) return strdup ("/");
41 - end = strrchr (path, '/');
42 + end = (gchar*)strrchr (path, '/');
43 if (!end) return strdup (path);
45 tmp = br_strndup ((char *) path, end - path);