summaryrefslogtreecommitdiff
path: root/AAA_GOFILES/draw.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 /AAA_GOFILES/draw.go
parentacdea005c009afd23638cc640275166887622bef (diff)
Un-intmax_t'd everything.
Diffstat (limited to 'AAA_GOFILES/draw.go')
-rw-r--r--AAA_GOFILES/draw.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/AAA_GOFILES/draw.go b/AAA_GOFILES/draw.go
index eb4158d..7e31cfe 100644
--- a/AAA_GOFILES/draw.go
+++ b/AAA_GOFILES/draw.go
@@ -593,7 +593,7 @@ func (f *FontFamilies) NumFamilies() int {
// Family returns the name of the nth family in the list.
func (f *FontFamilies) Family(n int) string {
- cname := C.uiDrawFontFamiliesFamily(f.ff, C.uintmax_t(n))
+ cname := C.uiDrawFontFamiliesFamily(f.ff, C.int(n))
name := C.GoString(cname)
C.uiFreeText(cname)
return name