WUtil: fix type used in sizeof in function wtokensplit (Coverity #50208 + #50209)
commit3aae4125888d0f678541e69ba5ad9c051e05a268
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 17 May 2014 22:56:42 +0000 (18 00:56 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 18 May 2014 22:00:16 +0000 (18 23:00 +0100)
treea68a3111e7a29b168831145dfe75adb869aa0fb6
parent6f7fa45a9943d83bd0ec6e7c59673b496d433c05
WUtil: fix type used in sizeof in function wtokensplit (Coverity #50208 + #50209)

As pointed by Coverity, the type used to calculate the size to allocate was
not the right one. It now gets the compiler to deduce it from the variable
for which the memory is allocated.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WINGs/string.c