checkwps: Fix warning uncovered with GCC16

/home/rbbuild/rockbox/tools/checkwps/checkwps.c: In function 'main':
/home/rbbuild/rockbox/tools/checkwps/checkwps.c:329:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
329 | char *ext = strrchr(name, '.');
| ^~~~~~~

Change-Id: I0c62600f269456cb81d0e3eaf77839c9103f2e41
This commit is contained in:
Solomon Peachy 2026-05-25 09:10:08 -04:00
parent 44e8d8226a
commit 9a142ee02d

View file

@ -326,7 +326,7 @@ int main(int argc, char **argv)
* flawed wps */
while (argv[filearg]) {
const char* name = argv[filearg++];
char *ext = strrchr(name, '.');
const char *ext = strrchr(name, '.');
struct skin_stats stats;
printf("Checking %s...\n", name);
if (!ext)