Changeset 1875 for trunk


Ignore:
Timestamp:
Mar 19, 2005, 11:15:58 PM (20 years ago)
Author:
bird
Message:

Some typos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/sys/sharedpm.c

    • Property cvs2svn:cvs-rev changed from 1.26 to 1.27
    r1874 r1875  
    11811181        {
    11821182            uint16_t   *pu16 = &gpSPMHdr->pTcpip->acRefs[iSocket];
    1183             unsigned uRefs = __atomic_increment_word_max(pu16, 0x777f);
     1183            unsigned uRefs = __atomic_increment_word_max(pu16, 0x7fff);
    11841184            if (!(uRefs & 0xffff0000))
    11851185            {
    11861186                pu16 = &gpSPMSelf->pacTcpipRefs[iSocket];
    1187                 unsigned uRefsProc = __atomic_increment_word_max(pu16, 0x777f);
    1188                 if (!(uRefs & 0xffff0000))
     1187                unsigned uRefsProc = __atomic_increment_word_max(pu16, 0x7fff);
     1188                if (!(uRefsProc & 0xffff0000))
    11891189                    rc = (uRefsProc << 16) | uRefs;
    11901190                else
     
    12371237                pu16 = &gpSPMSelf->pacTcpipRefs[iSocket];
    12381238                unsigned uRefsProc = __atomic_decrement_word_min(pu16, 0);
    1239                 if (!(uRefs & 0xffff0000))
     1239                if (!(uRefsProc & 0xffff0000))
    12401240                    rc = (uRefsProc << 16) | uRefs;
    12411241                else
Note: See TracChangeset for help on using the changeset viewer.