Fix pedantic unnamed union warning, fix printf pointer length warning