fix build

This commit is contained in:
Joey Hess 2024-07-22 21:19:20 -04:00
parent 758cff0fde
commit 2acde0152a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -79,7 +79,7 @@ seek o = getAnnexWorkerPool $ \workerpool -> do
mkGetServerMode authenv o
Warp.run (fromIntegral port) (p2pHttpApp st)
where
port = fromMaybe defaultHttpProtocolPort (portOption o)
port = fromMaybe (fromIntegral defaultHttpProtocolPort) (portOption o)
mkGetServerMode :: M.Map Auth P2P.ServerMode -> Options -> GetServerMode
mkGetServerMode _ o _ Nothing