make cast.c independent of signedness of "char"
commitf17078f9c637564931f890ab16ab9db98e9e567a
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 23 May 2015 09:36:56 +0000 (23 11:36 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 24 May 2015 15:57:24 +0000 (24 17:57 +0200)
treeccd3903ae639727df5c06603338387d2db370465
parent76bf852363db5229107c1090e2856c67298ff76e
make cast.c independent of signedness of "char"

Apparently, "char" is unsigned on some platforms, so explicitly
use "signed char" instead.

Reported-by: Anton Lokhmotov <anton@dividiti.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
tests/cast.c
tests/cast.scop