Thomas Heijligen has uploaded this change for review.

View Change

enum programmer: replace by int

Change-Id: Id2ad9630fbc41e98d182768b553788e069fa5095
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de>
---
M flashrom.c
M libflashrom.c
2 files changed, 2 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/20/55120/1
diff --git a/flashrom.c b/flashrom.c
index d9220a3..65fa559 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -1582,7 +1582,7 @@
const char *pname;
int pnamelen;
int remaining = 0, firstline = 1;
- enum programmer p;
+ int p;
int i;

for (p = 0; p < programmer_table_size; p++) {
diff --git a/libflashrom.c b/libflashrom.c
index 2685433..29a5d2c 100644
--- a/libflashrom.c
+++ b/libflashrom.c
@@ -119,7 +119,7 @@
*/
const char **flashrom_supported_programmers(void)
{
- enum programmer p = 0;
+ int p = 0;
const char **supported_programmers = malloc((programmer_table_size + 1) * sizeof(char*));

if (supported_programmers != NULL) {

To view, visit change 55120. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Id2ad9630fbc41e98d182768b553788e069fa5095
Gerrit-Change-Number: 55120
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src@posteo.de>
Gerrit-MessageType: newchange