diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-05-19 16:47:58 +0200 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-05-19 16:48:15 +0200 |
| commit | 9f89ffa71c7029803c96a102efee0ab65edc6ead (patch) | |
| tree | 4d08b5e0a436aaf03b031ba2def25a67957f9061 /utils | |
| parent | 45782df278f65626b761bbb8b70b1932436033e5 (diff) | |
| download | rockbox-9f89ffa71c7029803c96a102efee0ab65edc6ead.zip rockbox-9f89ffa71c7029803c96a102efee0ab65edc6ead.tar.gz rockbox-9f89ffa71c7029803c96a102efee0ab65edc6ead.tar.bz2 rockbox-9f89ffa71c7029803c96a102efee0ab65edc6ead.tar.xz | |
mkimxboot: fix warnings
Change-Id: If88b61566d8c81eda7cfc482fa82213657ae41b2
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/imxtools/sb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/imxtools/sb.c b/utils/imxtools/sb.c index db6763c..9b97509 100644 --- a/utils/imxtools/sb.c +++ b/utils/imxtools/sb.c @@ -666,10 +666,11 @@ struct sb_file_t *sb_read_file_ex(const char *filename, size_t offset, size_t si #undef fatal } -struct sb_file_t *sb_read_memory(void *buf, size_t filesize, bool raw_mode, void *u, +struct sb_file_t *sb_read_memory(void *_buf, size_t filesize, bool raw_mode, void *u, sb_color_printf cprintf, enum sb_error_t *err) { struct sb_file_t *sb_file = NULL; + uint8_t *buf = _buf; #define printf(c, ...) cprintf(u, false, c, __VA_ARGS__) #define fatal(e, ...) \ |