diff options
Diffstat (limited to 'generic/tkDList.h')
-rw-r--r-- | generic/tkDList.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkDList.h b/generic/tkDList.h index 0510a2b..e4c34d2 100644 --- a/generic/tkDList.h +++ b/generic/tkDList.h @@ -317,11 +317,11 @@ LT##_Prev(struct ElemType *elem) \ } \ \ __TK_DLIST_UNUSED \ -static int \ +static unsigned \ LT##_Size(const struct LT *head) \ { \ const struct ElemType *elem; \ - int size = 0; \ + unsigned size = 0; \ assert(head); \ if ((elem = head->first)) { \ for ( ; elem != (void *) head; elem = elem->_dl_.next) { \ |