warning fix

This commit is contained in:
Gilles Grandou 2011-02-17 23:02:53 +01:00
parent b4bf230bcb
commit 0da07ee2bf

View File

@ -412,7 +412,7 @@ void update_header(t_abootimg* img)
printf("reading config file %s\n", img->config_fname);
char* line = NULL;
unsigned len = 0;
size_t len = 0;
int read;
while ((read = getline(&line, &len, config_file)) != -1) {
@ -433,7 +433,7 @@ void update_header(t_abootimg* img)
printf("reading config args\n");
char* line = NULL;
unsigned len = 0;
size_t len = 0;
int read;
while ((read = getline(&line, &len, config_file)) != -1) {