summarylogtreecommitdiffstats
path: root/openexr-2.1.0_cast.patch
diff options
context:
space:
mode:
authorxantares2015-06-08 21:35:11 +0200
committerxantares2015-06-08 21:35:11 +0200
commit98d2fe845d8f1dd20a6a50ad277a7d629f5f557f (patch)
treea417ebf15d90d541ac81b5b9a44fd0feba1f4090 /openexr-2.1.0_cast.patch
downloadaur-98d2fe845d8f1dd20a6a50ad277a7d629f5f557f.tar.gz
Initial import
Diffstat (limited to 'openexr-2.1.0_cast.patch')
-rw-r--r--openexr-2.1.0_cast.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openexr-2.1.0_cast.patch b/openexr-2.1.0_cast.patch
new file mode 100644
index 000000000000..f68f93150d9d
--- /dev/null
+++ b/openexr-2.1.0_cast.patch
@@ -0,0 +1,12 @@
+diff -rupN openexr-2.1.0/IlmImf/ImfOptimizedPixelReading.h openexr-2.1.0-new/IlmImf/ImfOptimizedPixelReading.h
+--- openexr-2.1.0/IlmImf/ImfOptimizedPixelReading.h 2013-07-29 19:58:48.000000000 +0200
++++ openexr-2.1.0-new/IlmImf/ImfOptimizedPixelReading.h 2013-12-27 02:04:23.286563455 +0100
+@@ -84,7 +84,7 @@ EXR_FORCEINLINE
+ bool
+ isPointerSSEAligned (const void* EXR_RESTRICT pPointer)
+ {
+- unsigned long trailingBits = ((unsigned long)pPointer) & 15;
++ intptr_t trailingBits = ((intptr_t)pPointer) & 15;
+ return trailingBits == 0;
+ }
+