summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2017-10-09 08:58:57 +0000
committerRuediger Pluem <rpluem@apache.org>2017-10-09 08:58:57 +0000
commit22b4d25f767fc4009ea06a6f778f4732be2e37be (patch)
treed3f8a48df67d6c4e10665d55e945bb6ad22378ed /.gdbinit
parentf72e5b64d0c57798951f3c4d4d27bb91fc627606 (diff)
downloadhttpd-22b4d25f767fc4009ea06a6f778f4732be2e37be.tar.gz
* Convert to int before using
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1811541 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index 494ff829d9..7f1a5ba979 100644
--- 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']