#2985: allow i8 in XMLRPC responses.
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index d635a4e..f600de7 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -897,6 +897,7 @@
         self.append(int(data))
         self._value = 0
     dispatch["i4"] = end_int
+    dispatch["i8"] = end_int
     dispatch["int"] = end_int
 
     def end_double(self, data):