fix printf compiler warnings