Changeset 278 for trunk/src/3rdparty/os2/xsystray/xsystray_api.c
- Timestamp:
- Nov 2, 2009, 3:24:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/3rdparty/os2/xsystray/xsystray_api.c
r276 r278 88 88 bTriedFind = TRUE; 89 89 HWND hwnd = FindSysTrayServerWindow(); 90 __atomic_cmpxchg32((uint32_t *)&G_hwndSysTray, hwnd, NULLHANDLE); 90 __atomic_cmpxchg32((volatile uint32_t *)&G_hwndSysTray, 91 hwnd, NULLHANDLE); 91 92 if (G_hwndSysTray == NULLHANDLE) 92 93 break; … … 148 149 DOSSUB_INIT | DOSSUB_SPARSE_OBJ, 149 150 CLIENT_MEMORYPOOL_SIZE); 150 if (!__atomic_cmpxchg32(( uint32_t *)&G_pvMemoryPool,151 if (!__atomic_cmpxchg32((uint32_t *)&G_pvMemoryPool, 151 152 (uint32_t)pvPool, (uint32_t)NULL)) 152 153 {
Note:
See TracChangeset
for help on using the changeset viewer.