diff options
Diffstat (limited to 'third_party/nix/src/nix/path-info.cc')
-rw-r--r-- | third_party/nix/src/nix/path-info.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/path-info.cc b/third_party/nix/src/nix/path-info.cc index 300a588a2ef9..dca08b06adbb 100644 --- a/third_party/nix/src/nix/path-info.cc +++ b/third_party/nix/src/nix/path-info.cc @@ -96,9 +96,7 @@ struct CmdPathInfo final : StorePathsCommand, MixJSON { if (showSize || showClosureSize || showSigs) { std::cout << std::string( - std::max(0, static_cast<int>(pathLen) - - static_cast<int>(storePath.size())), - ' '); + std::max(0, (int)pathLen - (int)storePath.size()), ' '); } if (showSize) { |