Patchwork [04/13] max111x: input field is only used as uint8_t

login
register
mail settings
Submitter Juan Quintela
Date March 10, 2011, 11:54 a.m.
Message ID <ede6ddd23d6cb80c65450dcf4549d79514e7be44.1299757795.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/86265/
State New
Headers show

Comments

Juan Quintela - March 10, 2011, 11:54 a.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/max111x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/max111x.c b/hw/max111x.c
index 2844665..3adc3e4 100644
--- a/hw/max111x.c
+++ b/hw/max111x.c
@@ -15,7 +15,7 @@  typedef struct {
     uint8_t tb1, rb2, rb3;
     int cycle;

-    int input[8];
+    uint8_t input[8];
     int inputs, com;
 } MAX111xState;