From f0fb0f4f7e36b70c61a6cbcc6a2875946a6beec2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Aug 2018 23:21:30 -0400 Subject: Un-intmax_t'd everything. --- box.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'box.go') diff --git a/box.go b/box.go index a0cfb77..486456e 100644 --- a/box.go +++ b/box.go @@ -67,8 +67,7 @@ func (b *Box) Append(child Control, stretchy bool) { // Delete deletes the nth control of the Box. func (b *Box) Delete(n int) { b.children = append(b.children[:n], b.children[n + 1:]...) - // TODO why is this uintmax_t instead of intmax_t - C.uiBoxDelete(b.b, C.uintmax_t(n)) + C.uiBoxDelete(b.b, C.int(n)) } // Padded returns whether there is space between each control -- cgit v1.2.3