- Timestamp:
- Mar 20, 2009 11:18:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstGetOpt.cpp
r17441 r18110 91 91 }; 92 92 93 c har *argv2[] =93 const char *argv2[] = 94 94 { 95 95 "-s", "string1", … … 134 134 int argc2 = (int)RT_ELEMENTS(argv2) - 1; 135 135 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 */))); 137 137 138 138 CHECK_GETOPT(RTGetOpt(&GetState, &Val), 's', 2);
Note:
See TracChangeset
for help on using the changeset viewer.