QNX compile error fix

QNX compile was broken after stdint.h was removed.
Some warnings resolved.

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