Fix a few warnings.
Fix a few warnings.

- Implicit cast to char from int.
- Implicit struct initialization.

Signed-off-by: Aron Cedercrantz <ce30127eefa07a02d568832e3de6952fb491981c@cedercrantz.se>

kgn/KGNoise