fix use of sizeof() in 9e890a