diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-11-21 03:06:42 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-11-21 03:06:42 +0100 |
commit | 5017686683f7c2eb12bb966924c857622e9cdb94 (patch) | |
tree | e5a8577ba0917fd3b1caab1087955bd42f264b13 | |
parent | 15f1dc517e2e58df65c2c140b9b465c0d65296e5 (diff) |
colibri_vf: fix build warningColibri_VF_LinuxImageV2.1Beta2_201311292011.12-colibri_vf
Add an explicit cast to avoid the following build warning:
colibri_vf.c:225:23: warning: initialization makes pointer from integer
without a cast [enabled by default]
-rw-r--r-- | board/toradex/colibri_vf/colibri_vf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/toradex/colibri_vf/colibri_vf.c b/board/toradex/colibri_vf/colibri_vf.c index 97eaa9e6c43..62e0702c908 100644 --- a/board/toradex/colibri_vf/colibri_vf.c +++ b/board/toradex/colibri_vf/colibri_vf.c @@ -222,7 +222,7 @@ int checkboard(void) unsigned long ddr_ctrl_init(void) { - volatile u32 *pMem = 0x80000000; + volatile u32 *pMem = (u32 *)0x80000000; u32 temp = 0; int dram_size, rows, cols, banks, port; |