Changeset 1c5c96d in mainline for uspace/lib/graph/graph.c


Ignore:
Timestamp:
2017-10-11T20:35:01Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d29ae35
Parents:
b08e98ba
Message:

Unify offset ranges in update_damaged_region.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/graph/graph.c

    rb08e98ba r1c5c96d  
    469469static void vs_update_damaged_region(visualizer_t *vs, ipc_callid_t iid, ipc_call_t *icall)
    470470{
    471 #ifdef __32_BITS__
    472471        sysarg_t x_offset = (IPC_GET_ARG5(*icall) >> 16);
    473472        sysarg_t y_offset = (IPC_GET_ARG5(*icall) & 0x0000ffff);
    474 #else
    475         sysarg_t x_offset = (IPC_GET_ARG5(*icall) >> 32);
    476         sysarg_t y_offset = (IPC_GET_ARG5(*icall) & 0xffffffff);
    477 #endif
    478473       
    479474        int rc = vs->ops.handle_damage(vs,
Note: See TracChangeset for help on using the changeset viewer.