fix hardcoded size of wide chars
commit3d8f3446b66ab15fb645f1aa804967c74328afe9
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Fri, 19 May 2017 10:50:31 +0000 (19 12:50 +0200)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Fri, 19 May 2017 11:12:25 +0000 (19 13:12 +0200)
treec88b2c1b759a65a833f734ce566c307df7ebc5b2
parentc1a53a868ebafd1d134e4a77c86074b9d07e4281
fix hardcoded size of wide chars

The size of wide chars was hardcoded to 32.

Fix this by using a variable to hold this 'bits_in_wchar',
like done for all others datatypes.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
char.c
target.c
target.h