projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atom: describe how this odd data structure works
[platform/upstream/libxkbcommon.git]
/
src
/
darray.h
diff --git
a/src/darray.h
b/src/darray.h
index
c30fd7d
..
8e87c94
100644
(file)
--- a/
src/darray.h
+++ b/
src/darray.h
@@
-104,7
+104,7
@@
typedef darray (unsigned long) darray_ulong;
#define darray_from_items(arr, items, count) do { \
unsigned __count = (count); \
darray_resize(arr, __count); \
- if (count != 0) \
+ if (
__
count != 0) \
memcpy((arr).item, items, __count * sizeof(*(arr).item)); \
} while (0)