summaryrefslogtreecommitdiffstats
path: root/generic/tkArray.h
diff options
context:
space:
mode:
authorgcramer <remarcg@gmx.net>2018-10-22 12:40:52 (GMT)
committergcramer <remarcg@gmx.net>2018-10-22 12:40:52 (GMT)
commitfc5bfbe78aecf4b5918f44178c4d493109c162e6 (patch)
tree3ab28516d76d987d6b25506f74ca80054c731020 /generic/tkArray.h
parentb3c6dbb65349b84aa78ef495743cdcf1b4d4375e (diff)
downloadtk-fc5bfbe78aecf4b5918f44178c4d493109c162e6.zip
tk-fc5bfbe78aecf4b5918f44178c4d493109c162e6.tar.gz
tk-fc5bfbe78aecf4b5918f44178c4d493109c162e6.tar.bz2
A few fixes, especially for compile problems with Mac. Some more fixes for Windows will come soon.
Diffstat (limited to 'generic/tkArray.h')
-rw-r--r--generic/tkArray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkArray.h b/generic/tkArray.h
index 0e7547a..be7fa66 100644
--- a/generic/tkArray.h
+++ b/generic/tkArray.h
@@ -518,7 +518,7 @@ AT##_Find(const struct AT *arr, const ElemType *elem) \
{ \
assert(!arr || arr->size != 0xdeadbeef); \
if (arr) { \
- ElemType * const * buf = arr->buf; \
+ ElemType *const *buf = arr->buf; \
size_t i; \
for (i = 0; i < arr->size; ++i) { \
if (buf[i] == elem) { \