<div dir="auto">I will give it a try, thank you.</div><div class="gmail_extra"><br><div class="gmail_quote">Il 16 giu 2017 02:56, "Sik" <<a href="mailto:sik.the.hedgehog@gmail.com">sik.the.hedgehog@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2017-06-15 16:53 GMT-03:00, Ryan C. Gordon <<a href="mailto:icculus@icculus.org">icculus@icculus.org</a>>:<br>
>      typedef struct<br>
>      {<br>
>          char name[64];<br>
>          PHYSFS_uint32 startPos;<br>
>          PHYSFS_uint32 size;<br>
>      } UNPKentry;<br>
<br>
Are there arrays of those structs or the like? Because if not (i.e.<br>
doesn't matter if their size isn't fixed), you could just move name to<br>
the end and change it to name[0] (or name[1] if it gets nasty), then<br>
allocate as many extra bytes as needed for holding the name.<br>
<br>
Otherwise yeah you'll run into the need for dynamic allocation.<br>
Meanwhile you could change it to 256, I suppose.<br>
______________________________<wbr>_________________<br>
physfs mailing list<br>
<a href="mailto:physfs@icculus.org">physfs@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/physfs" rel="noreferrer" target="_blank">http://icculus.org/mailman/<wbr>listinfo/physfs</a></blockquote></div></div>