WIP: Get rid of Clang warnings "cast increases required alignment"
I successfully got rid of the warnings. But I am not sure whether this is the correct way.
Please can someone review and approve my changes?
The Clang warnings were like
/temp/gruenich/dune/complete/dune-grid/dune/grid/uggrid/uglbgatherscatter.hh:115:35: warning: cast from 'char *' to 'DataType *' (aka 'double *') increases required alignment from 1 to 8 [-Wcast-align]
DataType *dataPointer = (DataType*)(buffer + sizeof(int) + paramIdx*sizeof(DataType));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~