Revision 338e9e6c exec.c

b/exec.c
2371 2371
    /* This function should never be called with addresses outside the
2372 2372
       guest address space.  If this assert fires, it probably indicates
2373 2373
       a missing call to h2g_valid.  */
2374
#if HOST_LONG_BITS > L1_MAP_ADDR_SPACE_BITS
2375
    assert(start < (1ul << L1_MAP_ADDR_SPACE_BITS));
2374
#if TARGET_ABI_BITS > L1_MAP_ADDR_SPACE_BITS
2375
    assert(start < ((abi_ulong)1 << L1_MAP_ADDR_SPACE_BITS));
2376 2376
#endif
2377 2377

  
2378 2378
    if (start + len - 1 < start) {

Also available in: Unified diff