projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync to trunk head (37853) (except rbuild changes)
[reactos.git]
/
reactos
/
lib
/
3rdparty
/
libwine
/
debug.c
diff --git
a/reactos/lib/3rdparty/libwine/debug.c
b/reactos/lib/3rdparty/libwine/debug.c
index
472525d
..
24bd8cc
100644
(file)
--- a/
reactos/lib/3rdparty/libwine/debug.c
+++ b/
reactos/lib/3rdparty/libwine/debug.c
@@
-262,7
+262,7
@@
static char *get_temp_buffer( size_t size )
char *ret;
int idx;
- idx =
interlocked_xchg_a
dd( &pos, 1 ) % (sizeof(list)/sizeof(list[0]));
+ idx =
InterlockedExchangeA
dd( &pos, 1 ) % (sizeof(list)/sizeof(list[0]));
if ((ret = realloc( list[idx], size ))) list[idx] = ret;
return ret;
}