@@ -42,7 +42,7 @@ immutable TagData
4242 ip:: Uint
4343 status:: Int
4444end
45- const TAGNONE = TagData (uint ( 0 ), - 1 )
45+ const TAGNONE = TagData (@compat ( UInt ( 0 ) ), - 1 )
4646
4747type ProfileData
4848 img
@@ -91,8 +91,8 @@ function prepare(data; C = false, lidict = nothing, colorgc = true, combine = tr
9191 end
9292 isjl = builddict (uip, [! lkup[i]. fromC for i = 1 : nuip])
9393 isgc = builddict (uip, [lkup[i]. func == " jl_gc_collect" for i = 1 : nuip])
94- isjl[uint ( 0 )] = false # needed for root below
95- isgc[uint ( 0 )] = false
94+ isjl[@compat ( UInt ( 0 ) )] = false # needed for root below
95+ isgc[@compat ( UInt ( 0 ) )] = false
9696 p = Profile. liperm (lkup)
9797 rank = similar (p)
9898 rank[p] = 1 : length (p)
@@ -359,7 +359,7 @@ function buildimg(imgtags, colors, bkg, gccolor, colorgc::Bool, combine::Bool, l
359359 w = size (imgtags,1 )
360360 h = size (imgtags,2 )
361361 img = fill (bkg, w, h)
362- colorlen = int ( length (colors)/ 2 )
362+ colorlen = round (Int, length (colors)/ 2 )
363363 for j = 1 : h
364364 coloroffset = colorlen* iseven (j)
365365 colorindex = 1
@@ -399,7 +399,7 @@ function buildimg(imgtags, colors, bkg, gccolor, colorgc::Bool, combine::Bool, l
399399 img
400400end
401401
402- function fillrow! (img, j, rng:: Range1 {Int} , colorindex, colorlen, regcolor, gccolor, status)
402+ function fillrow! (img, j, rng:: UnitRange {Int} , colorindex, colorlen, regcolor, gccolor, status)
403403 if status > 0
404404 img[rng,j] = gccolor
405405 return colorindex
0 commit comments