Fixed some warnings

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