[lib][console] add pointer type arg, switch some users to it.

Patch courtesy Erik Corry
This commit is contained in:
Travis Geiselbrecht
2015-10-19 12:46:31 -07:00
parent fab92f3179
commit 38f20ec0a1
8 changed files with 13 additions and 10 deletions

View File

@@ -225,7 +225,7 @@ usage:
free(ptr);
#endif
} else if (argc == 3) {
void *ptr = (void *)argv[1].u;
void *ptr = argv[1].p;
size_t len = argv[2].u;
/* run the tests */