From ae8dd20d77385ed9822d17345c68ee54362cdfb2 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Mon, 27 Feb 2012 15:04:37 -0800 Subject: Make all warnings into errors. Also fix a couple places where that makes it fail. BUG=none TEST=none Change-Id: I3b434b4bfa547a579193aac67c1a9d440a2c4e51 --- include/flash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/flash.h') diff --git a/include/flash.h b/include/flash.h index 38944e43cb..8b965d0147 100644 --- a/include/flash.h +++ b/include/flash.h @@ -68,8 +68,8 @@ int flash_erase(int offset, int size); * the write protect range is also locked, and may not be subsequently * altered until after a cold boot with the write protect pin * deasserted. */ -int flash_get_write_protect_range(int *offset, int *size); -int flash_set_write_protect_range(int offset, int size); +int flash_get_write_protect_range(uint32_t *offset, uint32_t *size); +int flash_set_write_protect_range(uint32_t offset, uint32_t size); /* The write protect range has been stored into the chip registers * this boot. The flash is write protected and the range cannot be -- cgit v1.2.1