Skip to content

Commit 314e1ab

Browse files
committed
Issue #13772: Use syntax for literal wchar_t character
1 parent dc34160 commit 314e1ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6744,7 +6744,7 @@ _dirnameW(WCHAR *path)
67446744

67456745
/* walk the path from the end until a backslash is encountered */
67466746
for(ptr = path + wcslen(path); ptr != path; ptr--) {
6747-
if (*ptr == *L"\\" || *ptr == *L"/")
6747+
if (*ptr == L'\\' || *ptr == L'/')
67486748
break;
67496749
}
67506750
*ptr = 0;

0 commit comments

Comments
 (0)