BUG: Fix some integer error checks.
BUG: Fix some integer error checks.

sankhesh/VTK,arnaudgelas/VTK,johnkit/vtk-dev,sankhesh/VTK,mspark93/VTK,collects/VTK,hendradarwin/VTK,daviddoria/PointGraphsPhase1,ashray/VTK-EVM,candy7393/VTK,spthaolt/VTK,candy7393/VTK,keithroe/vtkoptix,SimVascular/VTK,candy7393/VTK,hendradarwin/VTK,berendkleinhaneveld/VTK,jmerkow/VTK,johnkit/vtk-dev,johnkit/vtk-dev,berendkleinhaneveld/VTK,arnaudgelas/VTK,hendradarwin/VTK,keithroe/vtkoptix,SimVascular/VTK,jmerkow/VTK,ashray/VTK-EVM,berendkleinhaneveld/VTK,SimVascular/VTK,berendkleinhaneveld/VTK,collects/VTK,candy7393/VTK,sankhesh/VTK,jmerkow/VTK,aashish24/VTK-old,gram526/VTK,msmolens/VTK,berendkleinhaneveld/VTK,mspark93/VTK,biddisco/VTK,daviddoria/PointGraphsPhase1,sumedhasingla/VTK,sumedhasingla/VTK,mspark93/VTK,arnaudgelas/VTK,keithroe/vtkoptix,gram526/VTK,SimVascular/VTK,arnaudgelas/VTK,gram526/VTK,collects/VTK,demarle/VTK,gram526/VTK,candy7393/VTK,aashish24/VTK-old,spthaolt/VTK,candy7393/VTK,arnaudgelas/VTK,keithroe/vtkoptix,jmerkow/VTK,sumedhasingla/VTK,jmerkow/VTK,ashray/VTK-EVM,keithroe/vtkoptix,SimVascular/VTK,demarle/VTK,daviddoria/PointGraphsPhase1,biddisco/VTK,msmolens/VTK,aashish24/VTK-old,spthaolt/VTK,ashray/VTK-EVM,hendradarwin/VTK,sankhesh/VTK,mspark93/VTK,SimVascular/VTK,berendkleinhaneveld/VTK,candy7393/VTK,biddisco/VTK,ashray/VTK-EVM,msmolens/VTK,biddisco/VTK,daviddoria/PointGraphsPhase1,johnkit/vtk-dev,collects/VTK,gram526/VTK,ashray/VTK-EVM,cjh1/VTK,biddisco/VTK,aashish24/VTK-old,biddisco/VTK,cjh1/VTK,biddisco/VTK,demarle/VTK,demarle/VTK,collects/VTK,johnkit/vtk-dev,msmolens/VTK,aashish24/VTK-old,sumedhasingla/VTK,spthaolt/VTK,mspark93/VTK,keithroe/vtkoptix,mspark93/VTK,cjh1/VTK,keithroe/vtkoptix,johnkit/vtk-dev,ashray/VTK-EVM,mspark93/VTK,SimVascular/VTK,spthaolt/VTK,demarle/VTK,sankhesh/VTK,spthaolt/VTK,berendkleinhaneveld/VTK,msmolens/VTK,johnkit/vtk-dev,spthaolt/VTK,sankhesh/VTK,msmolens/VTK,daviddoria/PointGraphsPhase1,mspark93/VTK,demarle/VTK,msmolens/VTK,sumedhasingla/VTK,collects/VTK,cjh1/VTK,demarle/VTK,cjh1/VTK,sankhesh/VTK,msmolens/VTK,arnaudgelas/VTK,jmerkow/VTK,sankhesh/VTK,hendradarwin/VTK,gram526/VTK,hendradarwin/VTK,gram526/VTK,jmerkow/VTK,aashish24/VTK-old,daviddoria/PointGraphsPhase1,ashray/VTK-EVM,SimVascular/VTK,jmerkow/VTK,cjh1/VTK,sumedhasingla/VTK,sumedhasingla/VTK,demarle/VTK,candy7393/VTK,keithroe/vtkoptix,gram526/VTK,sumedhasingla/VTK,hendradarwin/VTK