summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--new/tab_windows.c2
1 files changed, 1 insertions, 1 deletions
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);