diff options
| author | Pietro Gagliardi <[email protected]> | 2018-08-11 23:21:30 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2018-08-11 23:21:30 -0400 |
| commit | f0fb0f4f7e36b70c61a6cbcc6a2875946a6beec2 (patch) | |
| tree | 4f14157da996eec770c12a104708084a1866b555 /AAA_GOFILES/area.go | |
| parent | acdea005c009afd23638cc640275166887622bef (diff) | |
Un-intmax_t'd everything.
Diffstat (limited to 'AAA_GOFILES/area.go')
| -rw-r--r-- | AAA_GOFILES/area.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AAA_GOFILES/area.go b/AAA_GOFILES/area.go index 358a391..be267a4 100644 --- a/AAA_GOFILES/area.go +++ b/AAA_GOFILES/area.go @@ -74,7 +74,7 @@ func NewScrollingArea(handler AreaHandler, width int, height int) *Area { a.scrolling = true a.ah = registerAreaHandler(handler) - a.a = C.uiNewScrollingArea(a.ah, C.intmax_t(width), C.intmax_t(height)) + a.a = C.uiNewScrollingArea(a.ah, C.int(width), C.int(height)) a.c = (*C.uiControl)(unsafe.Pointer(a.a)) areas[a.a] = a @@ -133,7 +133,7 @@ func (a *Area) SetSize(width int, height int) { if !a.scrolling { panic("attempt to call SetSize on non-scrolling Area") } - C.uiAreaSetSize(a.a, C.intmax_t(width), C.intmax_t(height)) + C.uiAreaSetSize(a.a, C.int(width), C.int(height)) } // QueueRedrawAll queues the entire Area for redraw. |
