Fixed some warning and a misuse of sizeof-argument