Fixed some warnings

While building the GCViewer in Eclise I noticed that there are some warnings.

This is the fix for those.