Changeset 865f10d1 in rtems


Ignore:
Timestamp:
Mar 9, 2015, 12:50:07 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
5bc6237
Parents:
d9cda35
git-author:
Joel Sherrill <joel.sherrill@…> (03/09/15 12:50:07)
git-committer:
Joel Sherrill <joel.sherrill@…> (03/09/15 21:14:18)
Message:

cpukit/libcrypt/misc.c: Conditionally correct 16-bit unclean code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcrypt/misc.c

    rd9cda35 r865f10d1  
    5353        int i;
    5454
     55#if defined(__rtems__)
    5556        w = (B2 << 16) | (B1 << 8) | B0;
     57#else
     58        w = ((uint32_t)B2 << 16) | ((uint32_t)B1 << 8) | B0;
     59#endif
    5660        for (i = 0; i < n; i++) {
    5761                **cp = itoa64[w&0x3f];
Note: See TracChangeset for help on using the changeset viewer.