Ignore:
Timestamp:
Nov 2, 2009, 3:24:21 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

3rdparty: os2/xsystray: Warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/os2/xsystray/xsystray_api.c

    r276 r278  
    8888            bTriedFind = TRUE;
    8989            HWND hwnd = FindSysTrayServerWindow();
    90             __atomic_cmpxchg32((uint32_t *)&G_hwndSysTray, hwnd, NULLHANDLE);
     90            __atomic_cmpxchg32((volatile uint32_t *)&G_hwndSysTray,
     91                               hwnd, NULLHANDLE);
    9192            if (G_hwndSysTray == NULLHANDLE)
    9293                break;
     
    148149                               DOSSUB_INIT | DOSSUB_SPARSE_OBJ,
    149150                               CLIENT_MEMORYPOOL_SIZE);
    150         if (!__atomic_cmpxchg32((uint32_t *)&G_pvMemoryPool,
     151        if (!__atomic_cmpxchg32((uint32_t *)&G_pvMemoryPool,
    151152                                (uint32_t)pvPool, (uint32_t)NULL))
    152153        {
Note: See TracChangeset for help on using the changeset viewer.