From 8b42f5ae545d494463e72430fd81a0c0c558c881 Mon Sep 17 00:00:00 2001 From: Aneesh Kumar Date: Fri, 24 Feb 2006 14:02:32 +0530 Subject: [PATCH] gitview: Fix DeprecationWarning DeprecationWarning: integer argument expected, got float Signed-off-by: Aneesh Kumar K.V Signed-off-by: Junio C Hamano --- contrib/gitview/gitview | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview index b04df741..4a6b4484 100755 --- a/contrib/gitview/gitview +++ b/contrib/gitview/gitview @@ -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 -- 2.11.0