• S
    w64: Fix size of ram_addr_t · 53576999
    Stefan Weil 提交于
    ram_addr_t must be large enough to address any address of the host.
    
    For hosts with sizeof(unsigned long) == sizeof(void *), this patch
    changes nothing. All currently supported hosts fall into this category.
    
    For w64 hosts, sizeof(unsigned long) is 4 while sizeof(void *) is 8,
    so the use of uintptr_t is needed.
    Signed-off-by: NStefan Weil <sw@weilnetz.de>
    Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
    53576999
cpu-common.h 4.2 KB