11 Oct
2023
11 Oct
'23
4:18 p.m.
Alex Henrie <wine(a)gitlab.winehq.org> wrote:
+static void test_wcsdup(void) +{ + WCHAR *str; + errno = 0xdeadbeef; + str = wcsdup(0);
Please use NULL instead of 0.
+ ok(str == 0, "wcsdup returned %s, expected NULL\n", wine_dbgstr_w(str));
Same here, these are pointers. -- Dmitry.