Skip to content

Commit

Permalink
gitview: Fix DeprecationWarning
Browse files Browse the repository at this point in the history
DeprecationWarning: integer argument expected, got float

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Aneesh Kumar authored and Junio C Hamano committed Feb 24, 2006
1 parent a68de95 commit 8b42f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/gitview/gitview
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class CellRendererGraph(gtk.GenericCellRenderer):

cols = self.node[0]
for start, end, colour in self.in_lines + self.out_lines:
cols = max(cols, start, end)
cols = int(max(cols, start, end))

(column, colour, names) = self.node
names_len = 0
Expand Down

0 comments on commit 8b42f5a

Please sign in to comment.