diff --git a/new/tab_windows.c b/new/tab_windows.c index 3966cac..5cde3f0 100644 --- a/new/tab_windows.c +++ b/new/tab_windows.c @@ -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);