From 8d1655cd0afefd271eb59ba6cd235f03ec6ac4b2 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 26 Feb 2018 19:53:39 -0500 Subject: [PATCH] 64 bit --- blendish.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blendish.d b/blendish.d index 79d2f34..08671ef 100644 --- a/blendish.d +++ b/blendish.d @@ -2053,7 +2053,7 @@ if (is(RT : NVGTextRow!CT, CT)) usize r = 0; //for (r = 0; r < nrows && rows[r].end < caret; ++r) {} while (r < rows.length && rows[r].end < caretpos) ++r; - if (cr !is null) *cr = r; + if (cr !is null) *cr = cast(int) r; if (cx !is null) *cx = x; if (cy !is null) *cy = y-lineHeight-desc+r*lineHeight; if (rows.length == 0) return;