Skip to content

Commit

Permalink
Merge pull request #5126 from NuGet/hotfix-overflow-managepackage
Browse files Browse the repository at this point in the history
[Hotfix]Overflow on Manage Package page
  • Loading branch information
ryuyu committed Dec 6, 2017
2 parents f4a1334 + 986c2a7 commit 0398a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NuGetGallery/Views/Users/_UserPackagesList.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@{
var packagesString = "package" + (Model.Packages.Count() != 1 ? "s" : "");

var numDownloads = Model.Packages.Sum(p => p.TotalDownloadCount);
var numDownloads = Model.Packages.Sum(p => (long)p.TotalDownloadCount);
var downloadsString = "download" + (numDownloads != 1 ? "s" : "");
}

Expand Down

0 comments on commit 0398a08

Please sign in to comment.