Commit 5a32ea0a72ba9fa4275080a2a51612ae50f66dd3

Guillem Jover 2016-02-07T02:47:22

Fix unportable sizeof() usage We are calculating the size of the array, and need to pass the size of each element, not the size of a pointer to an element. Although this happens to be the same in many cases, this is not a portable assumption. Warned-by: coverity