Skip to content

Commit

Permalink
Fix const patch from Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
mesheets committed Jul 5, 2024
1 parent 8842e85 commit ac74125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkdata/mkdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using std::strcmp;
static const char *sTestArgs[] = {"mkdata", "-s", "fastdl.srec", "RCX_nub.h", "rcxNub" };


int main(int argc, const char **argv)
int main(int argc, const char *argv[])
{
FILE *src;
FILE *dst;
Expand All @@ -20,7 +20,7 @@ int main(int argc, const char **argv)
if (argc == 0)
{
// special case for debugging under the Metrowerks console
argv = (char **)sTestArgs;
argv = sTestArgs;
argc = sizeof(sTestArgs) / sizeof(char *);
}

Expand Down

0 comments on commit ac74125

Please sign in to comment.