On Mon, Jul 23, 2007 at 10:06:07AM -0600, jordan.crouse(a)amd.com wrote:
+static void parse_larsize(char *str)
+ char *p = NULL;
+ unsigned int size = strtoul(str, &p, 0);
larsize is declared a long while parse_larsize() now uses strtoul() -
they should match.
- larsize = strtol(optarg, (char **)NULL, 10);
Another issue was already discussed;
Either make parse_larsize() return a value, or put the code in the
File global larsize is yucky and hurts reuse.