commit 0dfd618acf75b19c7011b00389022edc97c19cba
Author: Orion Poplawski <orion(a)nwra.com>
Date: Tue Dec 31 16:54:23 2013 -0700
Add needed type casts for NULL usage on 32-bit
paraview-cstddef.patch | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/paraview-cstddef.patch b/paraview-cstddef.patch
index 0e84544..ac723b0 100644
--- a/paraview-cstddef.patch
+++ b/paraview-cstddef.patch
@@ -1,6 +1,6 @@
-diff -up ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx.cstddeff ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx
---- ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx.cstddeff 2013-12-24 19:17:44.000000000 -0700
-+++ ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx 2013-12-30 15:19:14.469386213 -0700
+diff -up ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx.cstddef ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx
+--- ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx.cstddef 2013-12-24 19:17:44.000000000 -0700
++++ ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx 2013-12-31 14:42:48.313911486 -0700
@@ -33,6 +33,7 @@
#include "vtkgl.h"
#include "vtkMPI.h"
@@ -9,3 +9,15 @@ diff -up ParaView-v4.1.0-RC2/VTK/Rendering/ParallelLIC/vtkPSurfaceLICComposite.c
#include <list>
#include <deque>
#include <vector>
+@@ -1272,9 +1273,9 @@ int vtkPSurfaceLICComposite::Gather(
+ vector<MPI_Request> mpiSendReqs;
+ deque<MPI_Datatype> mpiTypes;
+ #ifdef PBO_RECV_BUFFERS
+- deque<vtkPixelBufferObject*> recvPBOs(nTransactions, NULL);
++ deque<vtkPixelBufferObject*> recvPBOs(nTransactions, static_cast<vtkPixelBufferObject*>(NULL));
+ #else
+- deque<void*> recvBufs(nTransactions, NULL);
++ deque<void*> recvBufs(nTransactions, static_cast<void*>(NULL));
+ #endif
+ for (int j=0; j<nTransactions; ++j)
+ {