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. --- spinbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spinbox.go') 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 -- cgit v1.2.3