# gitview: Fix DeprecationWarning

1 messages from 2006-02-24 to 2006-02-24. Participants: Aneesh Kumar.
Thread: https://gitlist.dev/t/3451

## Aneesh Kumar, 2006-02-24 08:32

Subject: gitview: Fix DeprecationWarning
Message-ID: <cc723f590602240032r631ea384haf788a95d3ab5c44@mail.gmail.com>
URL: https://gitlist.dev/e/cc723f590602240032r631ea384haf788a95d3ab5c44%40mail.gmail.com

```



Subject: gitview: Fix  DeprecationWarning

DeprecationWarning: integer argument expected, got float

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>

---

 contrib/gitview/gitview |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

1d34275e275b7450721033bf261ea29219934982
diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview
index b04df74..4a6b448 100755
--- a/contrib/gitview/gitview
+++ b/contrib/gitview/gitview
@@ -154,7 +154,7 @@ class CellRendererGraph(gtk.GenericCellR
 
 		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
-- 
1.2.3.g2cf3-dirty


```
