<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>It's a normal int, not a PetscInt, so at least it will always fit in that pointer variable.</div>


<div><br></div><div>You can silence the warning by changing the line from</div><div><br></div>
<div>    leftarray[0] = (point) i; // The array length.</div><div><br></div><div>to</div><div><br></div><div>    leftarray[0] = (point) (PETSC_UINTPTR_T)i; // The array length.</div></blockquote><div><br></div><div>What I don't understand, is that with all this work done (thanks Matt!) why is it bundled with PETSc and not as a forked project? I mean, ctetgen seems like it would have value for other projects and most of the work is just scrubbing out the C++ (which, again, Matt just did the bulk of!). Why not just make an interface to it? This would have the added bonus of solving the license quirks (and, yes, Matt, there is a difference between having a fork / linking vs. *bundling* the code).</div>


</div>