Skip to content

Commit

Permalink
32bit環境だと10GがあふれてBuild failed
Browse files Browse the repository at this point in the history
  • Loading branch information
rinsuki committed Apr 5, 2018
1 parent f303b99 commit dc08c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iMast/OtherMenu/OtherMenuSettingsTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class OtherMenuSettingsTableViewController: FormViewController {
<<< TextRow() { row in
row.title = "キャッシュの容量"
row.disabled = true
let size = SDWebImageManager.shared().imageCache?.getSize() ?? 0
let size = UInt64(SDWebImageManager.shared().imageCache?.getSize() ?? 0)
if size < 10_000 {
row.value = size.description + "B"
} else if size < 10_000_000 {
Expand Down

0 comments on commit dc08c3d

Please sign in to comment.