diff options
author | Alexander Levitskiy <sanek@google.com> | 2014-05-07 23:31:59 +0000 |
---|---|---|
committer | Alexander Levitskiy <sanek@google.com> | 2014-05-07 23:31:59 +0000 |
commit | 8d7ddb35d510824e50833a9b31ae6486393b1436 (patch) | |
tree | 3d0cc0f7dc8fb70f7cd802871af00f6c7e518fe0 /fastboot/engine.c | |
parent | 782111b3bc5d372afc8d66ab6023e834b7c23b88 (diff) | |
download | system_core-8d7ddb35d510824e50833a9b31ae6486393b1436.zip system_core-8d7ddb35d510824e50833a9b31ae6486393b1436.tar.gz system_core-8d7ddb35d510824e50833a9b31ae6486393b1436.tar.bz2 |
Revert "System: Fastboot: warning fixit, misc bugs and cleanup."
This reverts commit 782111b3bc5d372afc8d66ab6023e834b7c23b88.
Change-Id: Ib66400dfaeef7f01e6461a57b9f09be08de2f1fe
Diffstat (limited to 'fastboot/engine.c')
-rw-r--r-- | fastboot/engine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fastboot/engine.c b/fastboot/engine.c index 7d440e0..5a6709b 100644 --- a/fastboot/engine.c +++ b/fastboot/engine.c @@ -66,7 +66,7 @@ struct Action char cmd[CMD_SIZE]; const char *prod; void *data; - size_t size; + unsigned size; const char *msg; int (*func)(Action *a, int status, char *resp); @@ -169,7 +169,7 @@ void fb_queue_erase(const char *ptn) a->msg = mkmsg("erasing '%s'", ptn); } -void fb_queue_flash(const char *ptn, void *data, size_t sz) +void fb_queue_flash(const char *ptn, void *data, unsigned sz) { Action *a; @@ -182,7 +182,7 @@ void fb_queue_flash(const char *ptn, void *data, size_t sz) a->msg = mkmsg("writing '%s'", ptn); } -void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, size_t sz) +void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, unsigned sz) { Action *a; |