Use correct variable type to make test build on win32.

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Klaas Freitag 2013-01-29 15:58:12 +01:00 committed by Andreas Schneider
parent 4d3a30c21f
commit 874a820426

View file

@ -191,15 +191,16 @@ static void check_iconv_teardown(void **state)
int rc = 0;
(void) state; /* unused */
#ifdef HAVE_ICONV
// this must never crash
rc = c_close_iconv();
#endif
assert_int_equal(rc, 0);
}
static void check_iconv_to_native_normalization(void **state)
{
const char *out = NULL;
mbchar_t *out = NULL;
const char *in= "\x48\xc3\xa4"; // UTF8
#ifdef __APPLE__
const char *exp_out = "\x48\x61\xcc\x88"; // UTF-8-MAC
@ -218,7 +219,7 @@ static void check_iconv_to_native_normalization(void **state)
static void check_iconv_from_native_normalization(void **state)
{
const char *out = NULL;
char *out = NULL;
#ifdef __APPLE__
const char* in = "\x48\x61\xcc\x88"; // UTF-8-MAC
#else