Remove compilation warnings on some platforms.

Change code to remove warnings.

Change-Id: I03deda0d74238e34781257646d1cfb2c90469201
Merge topic 'fix-delaunay2d-warnings' into master

b6e22e1c Remove compilation warnings on some platforms.