diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-08 09:04:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-08 09:04:53 +0100 |
commit | 73c318acdaf6f8309d68bd266051e6dd1f1bd787 (patch) | |
tree | 2878053f3e7faed19a1f82c733d3bd29df69991e /media-libs/openexr/files/openexr-2.2.0-use-ull-for-64-bit-literals.patch | |
parent | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (diff) |
gentoo resync : 08.06.2019
Diffstat (limited to 'media-libs/openexr/files/openexr-2.2.0-use-ull-for-64-bit-literals.patch')
-rw-r--r-- | media-libs/openexr/files/openexr-2.2.0-use-ull-for-64-bit-literals.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/media-libs/openexr/files/openexr-2.2.0-use-ull-for-64-bit-literals.patch b/media-libs/openexr/files/openexr-2.2.0-use-ull-for-64-bit-literals.patch deleted file mode 100644 index 6b107af29927..000000000000 --- a/media-libs/openexr/files/openexr-2.2.0-use-ull-for-64-bit-literals.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 57ecf581d053f5cacf2e8fc3c024490e0bbe536f Mon Sep 17 00:00:00 2001 -From: Brendan Bolles <brendan@fnordware.com> -Date: Wed, 13 Aug 2014 19:54:10 -0700 -Subject: [PATCH] Use ULL for 64-bit literals - -On a 32-bit architecture, these literals are too big for just a long, -they need to be ULL, since Int64 is unsigned. ---- - IlmImf/ImfFastHuf.cpp | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/IlmImf/ImfFastHuf.cpp b/IlmImf/ImfFastHuf.cpp -index 86c84dc..01edad4 100644 ---- a/IlmImf/ImfFastHuf.cpp -+++ b/IlmImf/ImfFastHuf.cpp -@@ -107,7 +107,7 @@ FastHufDecoder::FastHufDecoder - for (int i = 0; i <= MAX_CODE_LEN; ++i) - { - codeCount[i] = 0; -- base[i] = 0xffffffffffffffffL; -+ base[i] = 0xffffffffffffffffULL; - offset[i] = 0; - } - -@@ -352,7 +352,7 @@ FastHufDecoder::buildTables (Int64 *base, Int64 *offset) - - for (int i = 0; i <= MAX_CODE_LEN; ++i) - { -- if (base[i] != 0xffffffffffffffffL) -+ if (base[i] != 0xffffffffffffffffULL) - { - _ljBase[i] = base[i] << (64 - i); - } -@@ -362,7 +362,7 @@ FastHufDecoder::buildTables (Int64 *base, Int64 *offset) - // Unused code length - insert dummy values - // - -- _ljBase[i] = 0xffffffffffffffffL; -+ _ljBase[i] = 0xffffffffffffffffULL; - } - } - -@@ -417,7 +417,7 @@ FastHufDecoder::buildTables (Int64 *base, Int64 *offset) - - int minIdx = TABLE_LOOKUP_BITS; - -- while (minIdx > 0 && _ljBase[minIdx] == 0xffffffffffffffffL) -+ while (minIdx > 0 && _ljBase[minIdx] == 0xffffffffffffffffULL) - minIdx--; - - if (minIdx < 0) -@@ -427,7 +427,7 @@ FastHufDecoder::buildTables (Int64 *base, Int64 *offset) - // Set the min value such that the table is never tested. - // - -- _tableMin = 0xffffffffffffffffL; -+ _tableMin = 0xffffffffffffffffULL; - } - else - { |