Skip to content

Commit afafb5a

Browse files
committed
[Sources] Explicit conversion to work around breaking change in ProgressMeter
This was broken by <timholy/ProgressMeter.jl#304>.
1 parent 0b0372d commit afafb5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Sources.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ end
189189
function transfer_progress(progress::Ptr{GitTransferProgress}, payloads::Dict)
190190
p = payloads[:transfer_progress]
191191
progress = unsafe_load(progress)
192-
p.n = progress.total_objects
192+
p.n = Int(progress.total_objects)
193193
if progress.total_deltas != 0
194194
p.desc = "Resolving Deltas: "
195-
p.n = progress.total_deltas
195+
p.n = Int(progress.total_deltas)
196196
update!(p, Int(max(1, progress.indexed_deltas)))
197197
else
198198
update!(p, Int(max(1, progress.received_objects)))

0 commit comments

Comments
 (0)