From c2333751c411b5265326d866f810017cd561643c Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Sat, 13 Jul 2013 23:31:37 +0000 Subject: Use uintptr_t for chipaddr instead of unsigned long Corresponding to flashrom svn r1698. Signed-off-by: Stefan Tauner Acked-by: Carl-Daniel Hailfinger --- flash.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index ba93245..9e787c0 100644 --- a/flash.h +++ b/flash.h @@ -41,7 +41,8 @@ #define ERROR_OOM -100 #define TIMEOUT_ERROR -101 -typedef unsigned long chipaddr; +/* TODO: check using code for correct usage of types */ +typedef uintptr_t chipaddr; int register_shutdown(int (*function) (void *data), void *data); void *programmer_map_flash_region(const char *descr, unsigned long phys_addr, -- cgit v1.1