diff --git a/share/qtcreator/debugger/qttypes.py b/share/qtcreator/debugger/qttypes.py
index 06676b2632e056aca690ceb61fec751d6f1b7962..19f8cfc9e66accd2968a61a1109b8dc219a314dc 100644
--- a/share/qtcreator/debugger/qttypes.py
+++ b/share/qtcreator/debugger/qttypes.py
@@ -1706,7 +1706,7 @@ def qdump__QTextCursor(d, value):
         with Children(d):
             positionAddress = privAddress + 2 * d.ptrSize() + 8
             d.putIntItem("position", d.extractInt(positionAddress))
-            d.putIntItem("anchor", d.extractInt(positionAddress + intSize))
+            d.putIntItem("anchor", d.extractInt(positionAddress + d.intSize()))
             d.putCallItem("selected", value, "selectedText")