llvm.org GIT mirror llvm / 17da6e7
Fixing a warning in MSVC (this is also a test commit) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149844 91177308-0d34-0410-b5e6-96231b3b80d8 Aaron Ballman 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4545 * what to do with it.
4646 */
4747 const char *Arg = argv[1];
48 memmove(&argv[1], &argv[2], (argc-1)*sizeof(char*));
48 memmove((char**)&argv[1], &argv[2], (argc-1)*sizeof(char*));
4949 --argc;
5050
5151 if (!strcmp(Arg, "-llvmprof-output")) {
5353 puts("-llvmprof-output requires a filename argument!");
5454 else {
5555 OutputFilename = strdup(argv[1]);
56 memmove(&argv[1], &argv[2], (argc-1)*sizeof(char*));
56 memmove((char**)&argv[1], &argv[2], (argc-1)*sizeof(char*));
5757 --argc;
5858 }
5959 } else {