From b02d41f1c619370f151b783ad3aedcb7aa22d6c1 Mon Sep 17 00:00:00 2001 From: NicJA Date: Thu, 31 Mar 2016 11:17:31 +0000 Subject: [PATCH] ln_Name needs the cast, not file which is already STRPTR. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@52477 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/system/Wanderer/wanderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench/system/Wanderer/wanderer.c b/workbench/system/Wanderer/wanderer.c index 15808f3323..863bbd5147 100644 --- a/workbench/system/Wanderer/wanderer.c +++ b/workbench/system/Wanderer/wanderer.c @@ -1984,7 +1984,7 @@ attemptlock: UnLock(parent); } - if ((STRPTR)file != entry->ile_IconEntry->ie_IconNode.ln_Name) + if (file != (STRPTR)entry->ile_IconEntry->ie_IconNode.ln_Name) { FreeVec(file); } -- 2.11.4.GIT