summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAneesh Kumar <aneesh.kumar@gmail.com>2006-02-24 14:02:32 +0530
committerJunio C Hamano <junkio@cox.net>2006-02-24 03:14:34 -0800
commit8b42f5ae545d494463e72430fd81a0c0c558c881 (patch)
treeeec68eeb795993a69129a14c2659f26d3a0854a3 /contrib
parenta68de9592e4565a2cf3e14b3bc9c9cd57d7306d5 (diff)
downloadgit-8b42f5ae545d494463e72430fd81a0c0c558c881.tar.gz
gitview: Fix DeprecationWarning
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>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/gitview/gitview2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview
index b04df74162..4a6b44842d 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