Warning lvl 4 in Supernova

Fix signed mismatch and function returning no value.
Log4cpp

Fix lvl 3 warnings.
Demo1

Fix lvl4 warning.
Log4cpp

Fix warning lvl 4.