<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/63e68b107c1785ee66bdf81af7e5fd89cdd303bd">https://github.com/macports/macports-base/commit/63e68b107c1785ee66bdf81af7e5fd89cdd303bd</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 63e68b107 Migrate `VOID` to `void` and remove unneeded casts
</span>63e68b107 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 63e68b107c1785ee66bdf81af7e5fd89cdd303bd
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Mon Oct 30 21:26:38 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> Migrate `VOID` to `void` and remove unneeded casts
</span>---
src/pextlib1.0/filemap.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/pextlib1.0/filemap.c b/src/pextlib1.0/filemap.c
</span><span style='display:block; white-space:pre;color:#808080;'>index b967e1ae9..e3ab03fc3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/pextlib1.0/filemap.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/pextlib1.0/filemap.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1125,7 +1125,7 @@ Delete(SNode** ioRoot, const char* inPath)
</span> void
FreeFilemapInternalRep(Tcl_Obj* inObjPtr)
{
<span style='display:block; white-space:pre;background:#ffe0e0;'>- SFilemapObject* theObject = (SFilemapObject*) inObjPtr->internalRep.otherValuePtr;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SFilemapObject* theObject = inObjPtr->internalRep.otherValuePtr;
</span> if ((--theObject->fRefCount) == 0)
{
SNode* theRoot = theObject->fRoot;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1155,11 +1155,11 @@ void
</span> DupFilemapInternalRep(Tcl_Obj* inSrcPtr, Tcl_Obj* inDupPtr)
{
/* increment the ref count */
<span style='display:block; white-space:pre;background:#ffe0e0;'>- SFilemapObject* theObject = (SFilemapObject*) inSrcPtr->internalRep.otherValuePtr;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SFilemapObject* theObject = inSrcPtr->internalRep.otherValuePtr;
</span> theObject->fRefCount++;
/* duplicate the Tcl's obj stuff */
<span style='display:block; white-space:pre;background:#ffe0e0;'>- inDupPtr->internalRep.otherValuePtr = (VOID*) theObject;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ inDupPtr->internalRep.otherValuePtr = theObject;
</span> inDupPtr->typePtr = inSrcPtr->typePtr;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1299,8 +1299,7 @@ GetObjectFromVarName(Tcl_Interp* interp, Tcl_Obj* inVarName)
</span> {
Tcl_SetResult(interp, "variable is not a filemap", TCL_STATIC);
} else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- theResult =
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (SFilemapObject*) theTclObject->internalRep.otherValuePtr;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ theResult = theTclObject->internalRep.otherValuePtr;
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1392,7 +1391,7 @@ FilemapCreateCmd(Tcl_Interp* interp, int objc, Tcl_Obj* const objv[])
</span> theFilemapObject->fIsReadOnly = 0;
theFilemapObject->fIsRAMOnly = 1;
theFilemapObject->fIsDirty = 0;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- theObject->internalRep.otherValuePtr = (VOID*) theFilemapObject;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ theObject->internalRep.otherValuePtr = theFilemapObject;
</span> theObject->typePtr = &tclFilemapType;
/* Save it in global variable */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1692,7 +1691,7 @@ FilemapOpenCmd(Tcl_Interp* interp, int objc, Tcl_Obj* const objv[])
</span> theFilemapObject->fIsReadOnly = isReadOnly;
theFilemapObject->fIsDirty = 0;
theFilemapObject->fIsRAMOnly = 0;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- theObject->internalRep.otherValuePtr = (VOID*) theFilemapObject;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ theObject->internalRep.otherValuePtr = theFilemapObject;
</span> theObject->typePtr = &tclFilemapType;
/* Save it in global variable */
</pre><pre style='margin:0'>
</pre>