Fixed some printf warnings caused by using sizeof.
6 files changed