From bf191b2242167ef3944711cd172427f7018549ad Mon Sep 17 00:00:00 2001 From: Juanjo Alvarez Date: Tue, 17 Jun 2014 15:24:14 +0200 Subject: [PATCH] fixed this compile error on htmltotext.d: htmltotext.d(64): Error: function arsd.htmltotext.repeat (string s, int num) is not callable using argument types (string, ulong) htmltotext.d(69): Error: function arsd.htmltotext.repeat (string s, int num) is not callable using argument types (string, ulong) --- htmltotext.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htmltotext.d b/htmltotext.d index 296f886..9e03ec2 100644 --- a/htmltotext.d +++ b/htmltotext.d @@ -4,7 +4,7 @@ import arsd.dom; import std.string; import std.array : replace; -string repeat(string s, int num) { +string repeat(string s, ulong num) { string ret; foreach(i; 0 .. num) ret ~= s;