VirtualBox

Changeset 18110 in vbox for trunk/src


Ignore:
Timestamp:
Mar 20, 2009 11:18:48 AM (16 years ago)
Author:
vboxsync
Message:

gcc warning (not ideal btw)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstGetOpt.cpp

    r17441 r18110  
    9191    };
    9292
    93     char *argv2[] =
     93    const char *argv2[] =
    9494    {
    9595        "-s",               "string1",
     
    134134    int argc2 = (int)RT_ELEMENTS(argv2) - 1;
    135135
    136     CHECK(RT_SUCCESS(RTGetOptInit(&GetState, argc2, argv2, &s_aOpts2[0], RT_ELEMENTS(s_aOpts2), 0, 0 /* fFlags */)));
     136    CHECK(RT_SUCCESS(RTGetOptInit(&GetState, argc2, (char**)argv2, &s_aOpts2[0], RT_ELEMENTS(s_aOpts2), 0, 0 /* fFlags */)));
    137137
    138138    CHECK_GETOPT(RTGetOpt(&GetState, &Val), 's', 2);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette