diff options
author | Bill Richardson <wfrichar@chromium.org> | 2012-02-27 15:04:37 -0800 |
---|---|---|
committer | Bill Richardson <wfrichar@chromium.org> | 2012-02-27 15:54:00 -0800 |
commit | ae8dd20d77385ed9822d17345c68ee54362cdfb2 (patch) | |
tree | ff12df84568a5b40cc343a645bda3c5ad9ad3802 /include/flash.h | |
parent | f40df60a9a963d43f1a3a0309f2c2f98f28dd1aa (diff) | |
download | chrome-ec-ae8dd20d77385ed9822d17345c68ee54362cdfb2.tar.gz |
Make all warnings into errors.
Also fix a couple places where that makes it fail.
BUG=none
TEST=none
Change-Id: I3b434b4bfa547a579193aac67c1a9d440a2c4e51
Diffstat (limited to 'include/flash.h')
-rw-r--r-- | include/flash.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |