Fix a typo noticed by Gordon Henriksen. Thanks!
[oota-llvm.git] / docs / GetElementPtr.html
index a9905fe6074c71db6742275554af1b6ebea6becc..ac910887a6a29e8dd701e7782231df7993d301bf 100644 (file)
   <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