summaryrefslogtreecommitdiffstats
path: root/libflashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'libflashrom.c')
-rw-r--r--libflashrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libflashrom.c b/libflashrom.c
index fb7093450..d66c29596 100644
--- a/libflashrom.c
+++ b/libflashrom.c
@@ -534,7 +534,7 @@ static int flashrom_layout_parse_fmap(struct flashrom_layout **layout,
* 1 on any other error.
*/
int flashrom_layout_read_fmap_from_rom(struct flashrom_layout **const layout,
- struct flashctx *const flashctx, off_t offset, size_t len)
+ struct flashctx *const flashctx, size_t offset, size_t len)
{
#ifndef __FLASHROM_LITTLE_ENDIAN__
return 3;