Skip to content

Commit f4f80c0

Browse files
authored
Merge pull request #854 from Pritchy96/master
Fix build for gcc-15/16
2 parents aab6a3d + edda089 commit f4f80c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/srxfixup/src/anaarg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
int analize_arguments(const Opttable *dopttable, int argc, char **argv)
1818
{
1919
Opt_strings *optstr;
20-
const char *opt;
20+
char *opt;
2121
Opttable *otp;
2222
Opttable *igadd;
2323
Opttable *opttable;
@@ -128,7 +128,7 @@ int analize_arguments(const Opttable *dopttable, int argc, char **argv)
128128
opttable->option = opt;
129129
opttable->vartype = 'n';
130130
opttable->havearg = ARG_HAVEARG_UNK3;
131-
cp = strchr(opttable->option, ':');
131+
cp = strchr(opt, ':');
132132
if ( cp )
133133
{
134134
*cp = 0;

0 commit comments

Comments
 (0)