Ignore:
Timestamp:
Jun 30, 2013, 1:02:20 PM (11 years ago)
Author:
cfuguet
Message:

Modification in vci_block_device_tsar:

  • Adding parenthesis in p_wdata assignment expression to avoid compilation warning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_block_device_tsar/caba/source/src/vci_block_device_tsar.cpp

    r409 r424  
    606606        if ( (vci_param::B == 8) and ((r_burst_nwords.read() - r_words_count.read()) > 1) ) 
    607607        {
    608             p_vci_initiator.wdata = (uint64_t)r_local_buffer[r_index.read()] +
    609                                     ((uint64_t)r_local_buffer[r_index.read()+1])<<32;
     608            p_vci_initiator.wdata = ((uint64_t)r_local_buffer[r_index.read()  ]) +
     609                                   (((uint64_t)r_local_buffer[r_index.read()+1]) << 32);
    610610            p_vci_initiator.be    = 0xFF;
    611611        }
Note: See TracChangeset for help on using the changeset viewer.