aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_raw.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_handle_repo_raw.go')
-rw-r--r--http_handle_repo_raw.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go
index 835dd1b..8a9740e 100644
--- a/http_handle_repo_raw.go
+++ b/http_handle_repo_raw.go
@@ -100,7 +100,7 @@ func httpHandleRepoRaw(writer http.ResponseWriter, request *http.Request, params
files = append(files, displayTreeEntry{
Name: string(name),
Mode: fmt.Sprintf("%06o", mode),
- Size: int64(size),
+ Size: size,
IsFile: typeCode == 2,
IsSubtree: typeCode == 1,
})