Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAneesh Kumar <aneesh.kumar@gmail.com>2006-02-24 11:32:32 +0300
committerJunio C Hamano <junkio@cox.net>2006-02-24 14:14:34 +0300
commit8b42f5ae545d494463e72430fd81a0c0c558c881 (patch)
treeeec68eeb795993a69129a14c2659f26d3a0854a3 /contrib/gitview
parenta68de9592e4565a2cf3e14b3bc9c9cd57d7306d5 (diff)
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/gitview')
-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