summaryrefslogtreecommitdiff
path: root/spinbox.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2018-08-11 23:21:30 -0400
committerPietro Gagliardi <[email protected]>2018-08-11 23:21:30 -0400
commitf0fb0f4f7e36b70c61a6cbcc6a2875946a6beec2 (patch)
tree4f14157da996eec770c12a104708084a1866b555 /spinbox.go
parentacdea005c009afd23638cc640275166887622bef (diff)
Un-intmax_t'd everything.
Diffstat (limited to 'spinbox.go')
-rw-r--r--spinbox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/spinbox.go b/spinbox.go
index a34c3e9..a1dfc3b 100644
--- a/spinbox.go
+++ b/spinbox.go
@@ -38,7 +38,7 @@ func (s *Spinbox) Value() int {
// SetValue sets the Spinbox's current value to value.
func (s *Spinbox) SetValue(value int) {
- C.uiSpinboxSetValue(s.s, C.intmax_t(value))
+ C.uiSpinboxSetValue(s.s, C.int(value))
}
// OnChanged registers f to be run when the user changes the value