Fixed some build warnings.

This commit is contained in:
Pietro Gagliardi 2015-04-13 00:45:34 -04:00
parent 5995af00e6
commit 8b6508a6fb
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ void uiTabAddPage(uiControl *c, const char *name, uiControl *child)
if (t->len >= t->cap) {
t->cap += tabCapGrow;
t->pages = (struct tabPage *) uiRealloc(t->pages, t->cap * sizeof (uiParent *), "uiParent *[]");
t->pages = (uiParent **) uiRealloc(t->pages, t->cap * sizeof (uiParent *), "uiParent *[]");
}
hwnd = uiControlHWND(c);