Changeset 36e9cd1 in mainline for uspace/lib/libc/include/macros.h


Ignore:
Timestamp:
2010-02-10T23:15:27Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0701066
Parents:
3149fc0
Message:

silence compiler warnings (no change in actual functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/macros.h

    r3149fc0 r36e9cd1  
    4848#define STRING_ARG(arg)  #arg
    4949
    50 #define LOWER32(arg)  ((arg) & 0xffffffff)
    51 #define UPPER32(arg)  (((arg) >> 32) & 0xffffffff)
     50#define LOWER32(arg)  (((uint64_t) (arg)) & 0xffffffff)
     51#define UPPER32(arg)  (((((uint64_t) arg)) >> 32) & 0xffffffff)
    5252
    5353#define MERGE_LOUP32(lo, up) \
Note: See TracChangeset for help on using the changeset viewer.