Fixed some build warnings.
This commit is contained in:
parent
5995af00e6
commit
8b6508a6fb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue