]> git.pld-linux.org Git - packages/bmpx.git/blame - bmpx-invalid-conversion.patch
- fixes invalid conversion from const gchar* to gchar*
[packages/bmpx.git] / bmpx-invalid-conversion.patch
CommitLineData
10f9bd12
MB
1diff -up bmpx-0.40.13/src/sanity.cc.constcastfix bmpx-0.40.13/src/sanity.cc
2--- bmpx-0.40.13/src/sanity.cc.constcastfix 2007-10-18 19:17:08.000000000 +0200
3+++ bmpx-0.40.13/src/sanity.cc 2007-11-29 16:05:38.000000000 +0100
4@@ -72,9 +72,9 @@ C_FUNCTION
5 gchar *
6 sanity_check_gtk (void)
7 {
8- return gtk_check_version (GTK_REQUIRED_MAJOR_VER,
9- GTK_REQUIRED_MINOR_VER,
10- GTK_REQUIRED_MICRO_VER);
11+ return const_cast<gchar *>(gtk_check_version (GTK_REQUIRED_MAJOR_VER,
12+ GTK_REQUIRED_MINOR_VER,
13+ GTK_REQUIRED_MICRO_VER));
14 }
15
16 static gchar *
This page took 0.048743 seconds and 4 git commands to generate.