aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/GetElementPtr.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/GetElementPtr.html b/docs/GetElementPtr.html
index a9905fe607..ac910887a6 100644
--- a/docs/GetElementPtr.html
+++ b/docs/GetElementPtr.html
@@ -164,7 +164,7 @@
<ul>
<li> idx1 = &amp;MyVar + 0</li>
<li> idx2 = &amp;MyVar + 4</li>
- <li> idx3 = &amp;MyVar = 8</li>
+ <li> idx3 = &amp;MyVar + 8</li>
</ul>
<p>Since the type <tt>int</tt> is known to be four bytes long, the indices
0, 1 and 2 translate into memory offsets of 0, 4, and 8, respectively. No