Skip to content

Commit ac74125

Browse files
committed
Fix const patch from Debian
1 parent 8842e85 commit ac74125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mkdata/mkdata.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using std::strcmp;
99
static const char *sTestArgs[] = {"mkdata", "-s", "fastdl.srec", "RCX_nub.h", "rcxNub" };
1010

1111

12-
int main(int argc, const char **argv)
12+
int main(int argc, const char *argv[])
1313
{
1414
FILE *src;
1515
FILE *dst;
@@ -20,7 +20,7 @@ int main(int argc, const char **argv)
2020
if (argc == 0)
2121
{
2222
// special case for debugging under the Metrowerks console
23-
argv = (char **)sTestArgs;
23+
argv = sTestArgs;
2424
argc = sizeof(sTestArgs) / sizeof(char *);
2525
}
2626

0 commit comments

Comments
 (0)