<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - wl_array_for_each is not C++ compliant"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101618#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - wl_array_for_each is not C++ compliant"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101618">bug 101618</a>
              from <span class="vcard"><a class="email" href="mailto:daniel@fooishbar.org" title="Daniel Stone <daniel@fooishbar.org>"> <span class="fn">Daniel Stone</span></a>
</span></b>
        <pre>It cannot be cast to uint32_t as the type is not known in advance; for example,
the modifiers_map request from the text_input protocol uses an array of
uint8_t.

Is it possible to do the cast with typeof(*pos)? Every time I think I remember
how type-casting works in C++ I'm wrong, so maybe it wouldn't work.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>