QNX: Fix compiler warnings

Change-Id: Ia73b3a89464d5913bec4cc528047283475297083
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>