summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cleopatre/tools/spidupd/spidupd_host.h4
-rw-r--r--cleopatre/u-boot-1.1.6/net/spidupd.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/cleopatre/tools/spidupd/spidupd_host.h b/cleopatre/tools/spidupd/spidupd_host.h
index 21e2a8e142..87c11d109d 100644
--- a/cleopatre/tools/spidupd/spidupd_host.h
+++ b/cleopatre/tools/spidupd/spidupd_host.h
@@ -109,9 +109,9 @@ struct VsUpdStartReq_t
/** version string of the fw to send */
unsigned char version[16];
/** modem arch type; default: 0 (spc300) */
- unsigned char arch;
+ unsigned long arch;
/** update type; default: 0 for normal image */
- unsigned char upd_type;
+ unsigned long upd_type;
} __attribute__ ((__packed__));
typedef struct VsUpdStartReq_t VsUpdStartReq_t;
diff --git a/cleopatre/u-boot-1.1.6/net/spidupd.h b/cleopatre/u-boot-1.1.6/net/spidupd.h
index 9417896469..dcf39dd298 100644
--- a/cleopatre/u-boot-1.1.6/net/spidupd.h
+++ b/cleopatre/u-boot-1.1.6/net/spidupd.h
@@ -61,8 +61,8 @@
typedef struct
{
unsigned char version[16]; /* version string of the fw to send */
- unsigned char arch; /* modem arch type; default: 0 (spc300) */
- unsigned char upd_type; /* update type; default: 0 for normal image */
+ unsigned long arch; /* modem arch type; default: 0 (spc300) */
+ unsigned long upd_type; /* update type; default: 0 for normal image */
} __attribute__ ((__packed__)) MsUpdStartReq_t;
typedef struct