TS-2532 Also make the examples compile cleanly
TS-2532 One more compiler warning fix, as per Geffons wishes