From 39865367ede79e8b865b039596b4bfb0d20af9d9 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Tue, 1 Jan 2019 02:11:00 +0100 Subject: [PATCH] fix type mismatch --- lib/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file.go b/lib/file.go index 162c5d8b..d37c104e 100644 --- a/lib/file.go +++ b/lib/file.go @@ -25,7 +25,7 @@ import ( // The size of the loaded text can be rendered in the browser. Avoiding files that are too large causes browsers to crash. // Currently set to 10MB, 10 * 1024 * 1024 = 10485760 byte -const textExtensionsRenderMaxSize int = 10485760 +const textExtensionsRenderMaxSize int64 = 10485760 // File contains the information about a particular file or directory. type File struct {