<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 20/11/2012 7:11 PM, Christoph Nelles
      wrote:<br>
    </div>
    <blockquote cite="mid:50AC1C1B.6030300@evilazrael.de" type="cite">
      <pre wrap="">Have you tried a debugger? Have you tried to expand your code and use
intermediate variables and outputting their address (or evaluate them
with a debugger?). Es especially the Vector may be interesting. Have you
tried using plain memory (new[]/malloc)?

Am 21.11.2012 01:06, schrieb Taha Mirza:
</pre>
      <blockquote type="cite">
        <pre wrap="">Right, so, um, I'll just link to the StackOverflow question I made:
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/13443456/physfs-corrupting-first-few-bytes-of-data">http://stackoverflow.com/questions/13443456/physfs-corrupting-first-few-bytes-of-data</a>

It's in C++11, and I know PhysFS is a C library, so forgive me if you
can't glean my problem. I can't either. :-[

Thanks for taking a look.
_______________________________________________
physfs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:physfs@icculus.org">physfs@icculus.org</a>
<a class="moz-txt-link-freetext" href="http://icculus.org/mailman/listinfo/physfs">http://icculus.org/mailman/listinfo/physfs</a>
</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    Ah, yes, you've got me to use new[], and it works perfectly. It
    seems to be a C++ issue rather than a PhysFS issue, because even
    when manually copying the perfect array into the vector, the vector
    is <i>still</i> messed up.<br>
    <br>
    But anyways, thank you kindly. I guess there really wasn't any point
    to a vector, was there? <span class="moz-smiley-s5"><span> :-D </span></span><br>
  </body>
</html>