| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed.c`` | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1733,7 +1733,7 @@ static int check_use_frozen_modules(const char *rawval) | |||
| 1733 | 1733 | if (rawval == NULL) { | |
| 1734 | 1734 | wcscpy(optval, L"frozen_modules"); | |
| 1735 | 1735 | } | |
| 1736 | - else if (swprintf(optval, 100, L"frozen_modules=%s", rawval) < 0) { | ||
| 1736 | + else if (swprintf(optval, 100, L"frozen_modules=%S", rawval) < 0) { | ||
| 1737 | 1737 | error("rawval is too long"); | |
| 1738 | 1738 | return -1; | |
| 1739 | 1739 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments