    Use proper C++ casts in Types.h
    Use proper C++ casts in Types.h

    This CL reduces the amount of warning spew when compiling with CMake on Linux.

--

PiperOrigin-RevId: 244070668

freedomtan/tensorflow,jhseu/tensorflow,sarvex/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,freedomtan/tensorflow,gunan/tensorflow,sarvex/tensorflow,yongtang/tensorflow,renyi533/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,gunan/tensorflow,tensorflow/tensorflow,gunan/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,jhseu/tensorflow,aam-at/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,yongtang/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,annarev/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,gunan/tensorflow,gunan/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,freedomtan/tensorflow,yongtang/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,annarev/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,adit-chandra/tensorflow,gautam1858/tensorflow,annarev/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,aldian/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,arborh/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,arborh/tensorflow,yongtang/tensorflow,sarvex/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,sarvex/tensorflow,karllessard/tensorflow,jhseu/tensorflow,gunan/tensorflow,aam-at/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,adit-chandra/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,freedomtan/tensorflow,Intel-Corporation/tensorflow,annarev/tensorflow,tensorflow/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,arborh/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,aam-at/tensorflow,aldian/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,xzturn/tensorflow,yongtang/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,petewarden/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,annarev/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,DavidNorman/tensorflow,freedomtan/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,petewarden/tensorflow,aldian/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,aldian/tensorflow,gunan/tensorflow,davidzchen/tensorflow,gunan/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,adit-chandra/tensorflow,jhseu/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,Intel-Corporation/tensorflow,annarev/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,aam-at/tensorflow,renyi533/tensorflow,xzturn/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,aam-at/tensorflow