]> git.pld-linux.org Git - packages/bmpx.git/commitdiff
- fixes invalid conversion from const gchar* to gchar* auto/th/bmpx-0_40_13-6
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 15 Mar 2008 17:57:13 +0000 (17:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bmpx-invalid-conversion.patch -> 1.1

bmpx-invalid-conversion.patch [new file with mode: 0644]

diff --git a/bmpx-invalid-conversion.patch b/bmpx-invalid-conversion.patch
new file mode 100644 (file)
index 0000000..0ff489b
--- /dev/null
@@ -0,0 +1,16 @@
+diff -up bmpx-0.40.13/src/sanity.cc.constcastfix bmpx-0.40.13/src/sanity.cc
+--- bmpx-0.40.13/src/sanity.cc.constcastfix    2007-10-18 19:17:08.000000000 +0200
++++ bmpx-0.40.13/src/sanity.cc 2007-11-29 16:05:38.000000000 +0100
+@@ -72,9 +72,9 @@ C_FUNCTION
+ gchar *
+ sanity_check_gtk (void)
+ {
+-  return gtk_check_version (GTK_REQUIRED_MAJOR_VER,
+-                            GTK_REQUIRED_MINOR_VER,
+-                            GTK_REQUIRED_MICRO_VER);
++  return const_cast<gchar *>(gtk_check_version (GTK_REQUIRED_MAJOR_VER,
++                                              GTK_REQUIRED_MINOR_VER,
++                                              GTK_REQUIRED_MICRO_VER));
+ }
+ static gchar *
This page took 0.097259 seconds and 4 git commands to generate.