diff options
author | root <root@rshg054.dnsready.net> | 2011-11-09 23:14:53 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-09 23:14:53 +0000 |
commit | 7b0cdd65ac7bcd3c7597b528a10de58e4e0a430f (patch) | |
tree | 94f5e5e8ba53712358886d7a29554a7c5d624563 /staging/koffice/gcc46.patch | |
parent | ddba9670c1518d9b420db6a6dca01a4a4a4136c7 (diff) |
Wed Nov 9 23:14:53 UTC 2011
Diffstat (limited to 'staging/koffice/gcc46.patch')
-rw-r--r-- | staging/koffice/gcc46.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/staging/koffice/gcc46.patch b/staging/koffice/gcc46.patch new file mode 100644 index 000000000..dcf8a4f85 --- /dev/null +++ b/staging/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; + } + } + |