You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2017/10/09 08:58:57 UTC

svn commit: r1811541 - /httpd/httpd/trunk/.gdbinit

Author: rpluem
Date: Mon Oct  9 08:58:57 2017
New Revision: 1811541

URL: http://svn.apache.org/viewvc?rev=1811541&view=rev
Log:
* Convert to int before using

Modified:
    httpd/httpd/trunk/.gdbinit

Modified: httpd/httpd/trunk/.gdbinit
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/.gdbinit?rev=1811541&r1=1811540&r2=1811541&view=diff
==============================================================================
--- httpd/httpd/trunk/.gdbinit (original)
+++ httpd/httpd/trunk/.gdbinit Mon Oct  9 08:58:57 2017
@@ -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']