Skip to content

Commit

Permalink
Fix building with ghc-events-0.20 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
TeofilC authored Jan 31, 2025
1 parent 0eecaa3 commit c0b2bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HsSpeedscope.hs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ processEventsDefault elProf (Event _t ei _c) =
HeapProfCostCentre n l m s _ ->
elProf { cost_centres = CostCentre n l m s : cost_centres elProf }
ProfSampleCostCentre t _ _ st ->
elProf { el_samples = Sample t (V.toList st) : el_samples elProf }
elProf { el_samples = Sample (fromIntegral t) (V.toList st) : el_samples elProf }
_ ->
elProf

Expand Down

0 comments on commit c0b2bfc

Please sign in to comment.