mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
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:
parent
44e8d8226a
commit
9a142ee02d
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue