diff options
Diffstat (limited to 'libflashrom.c')
-rw-r--r-- | libflashrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libflashrom.c b/libflashrom.c index f3df1c7e..1a8b0517 100644 --- a/libflashrom.c +++ b/libflashrom.c @@ -119,7 +119,7 @@ const char *flashrom_version_info(void) */ const char **flashrom_supported_programmers(void) { - enum programmer p = 0; + size_t p = 0; const char **supported_programmers = malloc((programmer_table_size + 1) * sizeof(char*)); if (supported_programmers != NULL) { |