]> granicus.if.org Git - apache/commitdiff
* Convert to int before using
authorRuediger Pluem <rpluem@apache.org>
Mon, 9 Oct 2017 08:58:57 +0000 (08:58 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 9 Oct 2017 08:58:57 +0000 (08:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811541 13f79535-47bb-0310-9956-ffa450edef68

.gdbinit

index 494ff829d9d150f7b66464183864a4b51cff7c5e..7f1a5ba979bba764adce5dc5558f78bc4525c59d 100644 (file)
--- a/.gdbinit
+++ b/.gdbinit
@@ -461,7 +461,7 @@ class DumpPoolAndChilds (gdb.Command):
     done = 0
     while done == 0:
       noded = node.dereference()
-      size = size + (4096 << noded['index'])
+      size = size + (4096 << int(noded['index']))
       free = free + (noded['endp'] - noded['first_avail'])
       nodes = nodes + 1
       node = noded['next']