dv: Replace a magic number by sizeof()