Fix use of sizeof()