summaryrefslogtreecommitdiff
path: root/testing/koffice/gcc46.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-18 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-09-18 23:14:34 +0000
commitf57b139ded4e8c4b10555985513b3f9a70a70e12 (patch)
tree5c1e21523a0039ae25bd6237e79cc8158e068bd5 /testing/koffice/gcc46.patch
parentc7fd3b08e227a739803d62e0bb3033ebe65da775 (diff)
Sun Sep 18 23:14:34 UTC 2011
Diffstat (limited to 'testing/koffice/gcc46.patch')
-rw-r--r--testing/koffice/gcc46.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/koffice/gcc46.patch b/testing/koffice/gcc46.patch
new file mode 100644
index 000000000..dcf8a4f85
--- /dev/null
+++ b/testing/koffice/gcc46.patch
@@ -0,0 +1,23 @@
+diff -up koffice-2.3.2/krita/plugins/formats/exr/exr_converter.cc.gcc46 koffice-2.3.2/krita/plugins/formats/exr/exr_converter.cc
+--- koffice-2.3.2/krita/plugins/formats/exr/exr_converter.cc.gcc46 2011-02-17 06:13:40.000000000 -0600
++++ koffice-2.3.2/krita/plugins/formats/exr/exr_converter.cc 2011-02-19 21:15:56.597142885 -0600
+@@ -80,6 +80,9 @@ ImageType imfTypeToKisType(Imf::PixelTyp
+ return IT_FLOAT16;
+ case Imf::FLOAT:
+ return IT_FLOAT32;
++ default:
++ // shouldn't reach here
++ return IT_UNSUPPORTED;
+ }
+ }
+
+@@ -93,6 +96,9 @@ const KoColorSpace* kisTypeToColorSpace(
+ case IT_UNKNOWN:
+ case IT_UNSUPPORTED:
+ return 0;
++ default:
++ // shouldn't reach here
++ return 0;
+ }
+ }
+