diff options
Diffstat (limited to 'common/memsize.c')
-rw-r--r-- | common/memsize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/memsize.c b/common/memsize.c index 5670e95137..13b0047786 100644 --- a/common/memsize.c +++ b/common/memsize.c @@ -26,7 +26,7 @@ DECLARE_GLOBAL_DATA_PTR; long get_ram_size(long *base, long maxsize) { volatile long *addr; - long save[31]; + long save[BITS_PER_LONG - 1]; long save_base; long cnt; long val; |