Version 2.02.79 -
===================================
+ Use char* arithmetic in target_version(), _process_all(), _targets().
Fixing const cast gcc warnings in the code.
Check read() and close() results in _get_cmdline().
Add const for struct config_node usage.
}
do {
- names = (void *) names + next;
- if (!fn(argc, argv, (void *) names))
+ names = (struct dm_names *)((char *) names + next);
+ if (!fn(argc, argv, names))
r = 0;
next = names->next;
} while (next);
printf("%-16s v%d.%d.%d\n", target->name, target->version[0],
target->version[1], target->version[2]);
- target = (void *) target + target->next;
+ target = (struct dm_versions *)((char *) target + target->next);
} while (last_target != target);
r = 1;