Use sizeof instead of magic number 4.