Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/visualizer.c

    r1c5c96d r6d5e378  
    3333 */
    3434
    35 #include <assert.h>
    3635#include <errno.h>
    3736#include <as.h>
     
    176175        sysarg_t x_offset, sysarg_t y_offset)
    177176{
    178         assert(x_offset <= UINT16_MAX);
    179         assert(y_offset <= UINT16_MAX);
    180 
     177#ifdef __32_BITS__
    181178        sysarg_t offsets = ((x_offset << 16) | (y_offset & 0x0000ffff));
     179#else
     180        sysarg_t offsets = ((x_offset << 32) | (y_offset & 0xffffffff));
     181#endif
    182182
    183183        async_exch_t *exch = async_exchange_begin(sess);
Note: See TracChangeset for help on using the changeset viewer.