diff options
Diffstat (limited to 'test/regression/sizeof2.c')
-rw-r--r-- | test/regression/sizeof2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/regression/sizeof2.c b/test/regression/sizeof2.c index 66e38c02..7b2f189e 100644 --- a/test/regression/sizeof2.c +++ b/test/regression/sizeof2.c @@ -3,7 +3,7 @@ int main() { - printf("%d\n", sizeof("abcd")); - printf("%d\n", sizeof(L"abcd") / sizeof(wchar_t)); + printf("%d\n", (int) sizeof("abcd")); + printf("%d\n", (int) (sizeof(L"abcd") / sizeof(wchar_t))); return 0; } |