remove narrowing warnings

'int' variables were initialized from 'pos_type' or 'off_type' expressions with possibly larger sizes than 'int's.

Signed-off-by: Daniela Engert <dani@ngrt.de>
remove insecure function warning

wcscpy is deemed insecure. Silently ignore this warning here.

Signed-off-by: Daniela Engert <dani@ngrt.de>
remove unused variable warning

'i' is deduced as unused by the compiler - rightly so. Fake-use it.

Signed-off-by: Daniela Engert <dani@ngrt.de>
remove alignment warning

Silently ignore harmless warnings about changed structure member alignments.

Signed-off-by: Daniela Engert <dani@ngrt.de>