New submission from Nikita Sobolev <m...@sobolevn.me>:
Right now GitHub emmits this warning: ``` GitHub Actions / Windows (x64) Programs/_testembed.c#L1735 'swprintf' : format string '%s' requires an argument of type 'unsigned short *', but variadic argument 1 has type 'const char *' [D:\a\cpython\cpython\PCbuild\_testembed.vcxproj] ``` Example: https://github.com/python/cpython/pull/29272/files#file-programs-_testembed-c-L1735 Source: https://github.com/python/cpython/blob/7bddd96982072d04bd6314da1ee7f40b7f875f00/Programs/_testembed.c#L1736 I will send a PR with the fix. ---------- components: Library (Lib) messages: 405296 nosy: sobolevn priority: normal severity: normal status: open title: Warning: "'swprintf' : format string '%s' requires an argument of type 'unsigned short *', but variadic argument 1 has type 'const char *'" type: behavior versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45666> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com