diff --git a/test_conformance/half/main.cpp b/test_conformance/half/main.cpp index 6600cc58..104f4616 100644 --- a/test_conformance/half/main.cpp +++ b/test_conformance/half/main.cpp @@ -131,8 +131,7 @@ exit: static int ParseArgs( int argc, const char **argv ) { int i; - argList = (const char **)calloc( argc - 1, sizeof( char*) ); - + argList = (const char **)calloc(argc, sizeof(char *)); if( NULL == argList ) { vlog_error( "Failed to allocate memory for argList.\n" );